需要用到的几个插件:JSEclipse PDT SVN。可直接find install
PHP调试使用xdebug。
1.下载php_xdebug-2.0.4-5.2.8.dll,在php.ini中加入如下语句:
[xdebug]
zend_extension_ts="d:/php_xdebug-2.0.4-5.2.8.dll" //dll的存放路径
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.profiler_enable=1
xdebug.profiler_output_dir="d:/xdebug_output" //性能分析日志的输出目录
如果dll文件存放在php ext目录下,此处就只用写上dll文件名。
修改完php.ini文件后需要重启apache。
2. 安装xdebug的Firefox插件
3. 在Eclipse的PDT插件中设置调试器

增加JSEclipse插件对ExtJS的支持。
将下载的Ext_JSEclipse.zip包解压到路径 “workspace\.metadata\.plugins\com.interaktonline.jseclipse\user_library” 下