1、下载eclipsede classic版本,然后安装php开发包PDT。
a、进入windows preference--php debug,设置debuger、server
b、右键php某项目,选择properties,设置项目的url
c、右键php某项目,选择debug as,选择debug configurations,进入php server configuration,设置path mapping,类似iis的虚拟目录设置
2、下载安装wamp,里面的xdebug已经设置好,不会存在错误的情况。
3、不要使用zend server和zend studion,zend总是存在某些文件下了断点却不会中断的错误。
4、http://localhost:8088/discuzx/forum.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13380320021821可以在任何浏览器上发送链接,eclipse都可以断下。
eclipse、apache、php和xdebug集成
最新推荐文章于 2025-08-08 22:24:59 发布