通过选择在第一行中断,调试器在输入每个文件时处于活动状态,允许我进入和退出代码。 但是,为了达到它开始变得有趣的程度,必须通过50万步才能找到一些麻烦。无法使PHP PDT xDebug在Eclipse中的断点处停止
我的设置是WIMP微软Windows 7,PHP 5.3
; xDebug config
zend_extension = "C:\Program Files (x86)\PHP\v5.3\ext\php_xdebug-2.2.1-5.3-vc9-nts.dll"
xdebug.remote_autostart=0;
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
我已经确定了路径映射是正确的。 但是,它可能是因为我链接到我的Eclipse项目中的PHP文件?
哦,不!即使使用Eclipse Juno,我也遇到同样的问题!调试器停止在第一行,当选中“在第一行中断”但在取消“在第一行中断”后在设置断点处停止时停止。这是我的[SO问题](http://stackoverflow.com/questions/14092105/php-wamp-exlipse-pdt-xdebug-not-stopping-at-breakpoint),你可以检查我的设置并告诉我什么做错了。 –