簡體   English   中英

調試器無法與NetBeans + Wampserver一起使用

[英]Debugger not working with netbeans + wampserver

我已經在wamp + netbeans中配置了xdebug。 它安裝正確,並在phpinfo()顯示xdebug配置信息。 但是我仍然無法使用它調試我的應用程序。

有時它顯示waiting for connection錯誤。 有時它不顯示它,但也不會在給定的斷點處停止。

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上),我認為配置似乎是正確的。 那么問題是什么呢?

如果您需要有關配置的更多信息,請告訴我。

任何幫助,將不勝感激。

提前致謝。

我在waiting for connection遇到了同樣的問題waiting for connection但是在這里找到了很好的逐步教程可以解決我的問題。
希望此鏈接對您也有幫助。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM