很高兴回答你的问题。
1.安装xampp后,打开php.ini文件,取消最后面的[XDebug]的注释,特别注意 一定要打开元调试功能:xdebug.remote_enable = 1,重启xampp的apache服务。 2.安装chrone浏览器的php调试插件:xdebug heler。 3.在eclipse-php-helios-SR2-win32 的首选项 中设置 php excutables,指向xampp中的php安装路径,且选择xdebug作为调试器。 4.在debug处选择xdebug,且php excutables 选择上一步设置的执行环境即可。配置installed Debugger 里面的xdebug,一定要 将Accept remote session 设置loaclhost 或者any,否则 eclipse里面是不会停在断点处的。 5.在eclipse中设置断点,然后chrone 浏览器中发起调试。
顶一下

(0)
0%
踩一下

(0)
0%
- 相关评论
- 我要评论
-