我目前正在尝试在安装了 Eclipse PHP 的 XP 计算机上设置 Xdebug。我正在使用 WAMP,我认为我已经完成了本书的所有工作(正如在线几个教程所预期的那样),但是当我尝试执行调试并启动会话时,什么也没有发生,这也是由 Eclipse 通知的。另一个选项卡打开,并在 Firefox 中附加了 GET 字符串,但仅此而已。
我不知道该怎么做才能让它工作,但我猜我不是第一个遇到这个问题的人,所以在这里问可能不是一个坏主意!
我非常感谢任何可以帮助我朝着正确方向前进的答案。调试对我来说是一个全新的东西。
谢谢!
这里还有一些信息:
日食 说:
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
和网址:
http://localhost/debugtest/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=12658406113583