Windows 7上的Netbeans Xdebug是“等待连接". WAMP [英] Netbeans Xdebug on Windows 7 "waiting for connection" WAMP

查看:100
本文介绍了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!!!!

这篇关于Windows 7上的Netbeans Xdebug是“等待连接". WAMP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆