0
是否有人能夠設置Zend Framework項目的NetBeans調試?我的XAMPP在我的機器上本地運行,以及NetBeans 6.8。從phpinfo()的外觀來看,XDebug已正確安裝在XAMPP上。我開始與NetBeans進行調試會話,它連接到XDebug並打開頁面,但它不會在任何中斷點停止。使用NetBeans/XDebug調試Zend Framework項目
這是從NetBeans摘錄登錄,如果你有興趣:
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="165" status="stopping" reason="ok"></response>
FINE [org.netbeans.modules.php.dbgp.ServerThread]
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(Unknown Source)
at java.net.ServerSocket.implAccept(Unknown Source)
at java.net.ServerSocket.accept(Unknown Source)
at org.netbeans.modules.php.dbgp.ServerThread.run(ServerThread.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[catch] at java.lang.Thread.run(Unknown Source)
這種超時看起來可疑,但我不知道這是否是造成問題的原因。
這是從我的php.ini配置的摘錄:
extension=php_xdebug-2.0.5-5.3-vc6.dll
xdebug.extended_info = 1
xdebug.idekey = "netbeans-xdebug"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
你有什麼建議嗎?