我最近從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