我最近从Eclipse Galileo升级到Helios。只有在调试“作为PHP脚本”时,Helios才会在断点处停止,但在调试“作为Web页面”时不会停止。Eclipse Helios不在断点处停止
当作为网页调试,它看起来像正确的调试查询字符串来启动调试会话是越来越上涨到URL上,像这样:
http://localhost/hello.php?XDEBUG_SESSION_START=ECLIPSE_DBGP &KEY=129798139020511
但elipse根本不停止断点。它只是通过代码缩放并在浏览器中显示输出。
这是在php.ini中,对伽利略的作品,但不工作的Helios我XDebug的配置:(点击here看到我的整个Xdebug的配置设置)
;extension=xdebug.so <-- is this needed?
zend_extension=" /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-no n-zts-20090626/xdebug.so "
xdebug.remote_enable=on
xdebug.remote_autostart=off
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=
; to enable remote debugging
zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.expose_remotely=always
您可以发布您的XDebug配置中为Helios工作?如果可能,你可以分享phpinfo()输出的xdebug部分吗?想比较Helios上的xdebug配置和我的配置。
这是否与https://bugs.eclipse.org/bugs/show_bug.cgi?id=306834? – VonC 2011-02-18 05:19:07