我看了很多关于这个常见的 Xdebug
错误的解决方案,但似乎都不能解决我的问题:
netbeans 显示“Waiting For Connection (netbeans-xdebug)”
Netbeans 与 Wamp 上的 xdebug 无法连接:“显示等待连接”
在 phpinfo()
中,Xdebug 看起来已经正确配置了:
下面是我的 php.ini
:
zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5
-5.5-vc11-x86_64.dll"
;
[xdebug]
xdebug.remote_enable=1
xdebug.remote_mode = req
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9001
xdebug.profiler_enable = off
xdebug.profiler_enable_trigger = off
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.show_local_vars=0
xdebug.idekey=netbeans-xdebug
Netbeans
:
尝试禁用防火墙似乎没有帮助。
想知道我的Xdebug
出了什么问题,但已经没有更多的主意了。