Php 调试器不使用netbeans+;服务器

Php 调试器不使用netbeans+;服务器,php,netbeans,windows-7,wamp,xdebug,Php,Netbeans,Windows 7,Wamp,Xdebug,我已经在wamp+netbeans中配置了xdebug。它安装正确,并在phpinfo()中显示xdebug配置信息。但我仍然无法用它调试我的应用程序 有时显示等待连接的错误。有时它不显示它,但也不会在给定的断点上停止 Following is my configuration : PHP Version 5.3.9 PHP Extension Build API20090626, TS, VC9 In D:\wamp\bin\php\php5.3.9\ext\php_xdebug-2.2

我已经在wamp+netbeans中配置了xdebug。它安装正确,并在
phpinfo()
中显示xdebug配置信息。但我仍然无法用它调试我的应用程序

有时显示等待连接的
错误。有时它不显示它,但也不会在给定的断点上停止

Following is my configuration :

PHP Version 5.3.9

PHP Extension Build API20090626, TS, VC9

In D:\wamp\bin\php\php5.3.9\ext\php_xdebug-2.2.1-5.3-vc9.dll

xdebug version: (in phpinfo)
Version     2.2.1
IDE Key     netbeans-xdebug

In php.ini file

[xdebug]

zend_extension = "D:/wamp/php/ext/php_xdebug-2.2.1-5.3-vc9.dll"

xdebug.profiler_output_dir = "D:/wamp/tmp/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%p"
xdebug.profiler_enable = 0
xdebug.profiler_append = 0
xdebug.extended_info = 1
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey = xdebug
xdebug.remote_log = "D:/wamp/tmp/xdebug/xdebug_remot.log"
xdebug.show_exception_trace = 0
xdebug.show_local_vars = 9
xdebug.show_mem_delta = 0
xdebug.trace_format = 0
我几乎遵循了所有关于google的教程(也包括stackoverflow),我认为配置似乎是正确的。那么问题是什么呢

如果您想了解有关配置的更多信息,请告诉我

任何帮助都将不胜感激


提前谢谢。

我在等待连接时遇到了同样的问题
,但在那里我找到了一个非常好的循序渐进的教程,解决了我的问题
希望此链接对您也有帮助。

检查IDE中的端口是否与php中设置的端口一致。iniI也有完全相同的问题。我在Windows7中使用XAMPP,也无法运行调试。此外,我在使用Ubuntu时也遇到了同样的问题,因此这肯定不是windows 7或WAMP孤立的问题。最好的方法是检查“D:/WAMP/tmp/xdebug/xdebug_remot.log”中的内容——该日志文件的存在是有原因的!这对我有用。我在netbeans中将端口设置为9001。此外,我建议将php.ini文件中的“xdebug.idekey=xdebug”更改为“xdebug.idekey=netbeansxdebug”。