我正在嘗試在安裝了Eclipse PHP的XP計算機上安裝Xdebug。我正在使用WAMP,並且我會認爲我已經完成了本書的所有內容(正如幾本在線教程所預期的那樣),但是當我嘗試執行調試並開始會話時,沒有任何反應,Eclipse也會通知您。另一個選項卡隨Firefox中附加的GET字符串打開,但這就是它。Eclipse的Xdebug問題PHP
我不知道該怎麼做,但我會猜測我不是第一個有這個問題的人,所以在這裏問這可能不是一個壞主意!
我非常感謝任何可以幫助我走向正確方向的答案。調試對我來說是一個全新的東西。
謝謝!
這裏也是一些信息:
Eclipse中說:
Launching: Waiting for Xdebug session
這裏是我的php.ini的樣子:
[xdebug]
zend_extension="c:/wamp/php/ext/php_xdebug-2.1.0beta2-5.3-vc6.dll"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_mode=req
xdebug.idekey=default
xdebug.remote_log="C:/xdebug.log"
xdebug.remote_port=9000
xdebug.show_exception_trace=0
xdebug.show_local_vars=9
xdebug.show_mem_delta=0
xdebug.trace_format=0
和URL:
http://localhost/debugtest/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12658406113583
嗨!謝謝! 它正在監聽並在端口9000上發送。我在哪裏可以找到關於KEY的信息,因爲我沒有在Eclipse中爲Xdebug使用任何代理? – Industrial 2010-02-10 23:25:36