Windows 7上的Netbeans Xdebug是“等待连接". WAMP
对于这种常见的Xdebug
错误,我阅读了很多解决方案,但似乎并不能解决我的问题:
I read a lots of solutions for this common Xdebug
's error, but it did not seems to resolve my issue:
netbeans显示正在等待连接(netbeans-xdebug)"
Netbeans不与Wamp上的xdebug连接:显示正在等待连接"
似乎已正确配置了Xdebug:
in phpinfo()
Xdebug seems properly configured:
下面是我的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
发生了什么.
Tried disable firewall doesn't seems to help.
Running out of ideas to know what is going on with my Xdebug
.
最后,受管理的Xdebug遵循以下index.php?"XDEBUG_SESSION_START=netbeans-xdebug"添加到URL中并刷新页面,然后netbeans Xdebug的状态立即更改为::
Finally, managed Xdebug to work follow this article, and one more thing i need to do is when netbeans showing "waiting for connection" message. I need to open the page manually in browser(netbeans not open pop-up itself), added index.php?"XDEBUG_SESSION_START=netbeans-xdebug"
to the URL and refresh the page, and then netbeans Xdebug status changed to running right away :)
非常感谢你们提供的宝贵帮助!!!!
Thank you guys so much for valuable helps!!!!