问题描述
我知道您在想什么,另一个netbeans xdebug帖子?
I know what you're thinking, ANOTHER netbeans xdebug post?
好吧,我已经尝试了我在其他帖子中看到的所有内容,但似乎没有任何效果.这是我的设置:
Well, I've tried everything I've seen in other posts, and nothing seems to work. Here's my setup:
- 操作系统:Ubuntu 9.10
- PHP:5.2.1
- Netbeans:6.8
以下是我的/etc/php5/apache2/php.ini中的
The following is in my /etc/php5/apache2/php.ini
zend_extension=/usr/lib/php5/20060613/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
我尝试过使用zend_extension_ts切换端口(到目前为止,我已经尝试过9001、9002和9034),并在配置文件中添加了其他xdebug参数,但似乎无济于事:Netbeans仍然说它正在等待用于连接(netbeans-xdebug)
I've tried switching ports (I've tried 9001, 9002, and 9034 so far), using zend_extension_ts, adding additional xdebug parameters in the config file, but nothing seems to work: Netbeans still says it's waiting for connection (netbeans-xdebug)
如果我查看我的phpinfo,我确实会看到有关xdebug的整个部分,并且参数正确.
If I look at my phpinfo, I do see a whole section on xdebug, and the parameters are correct.
任何帮助将不胜感激!
推荐答案
我不知道发生了什么,但是我将调试端口切换为9000,并升级到了Netbeans 6.9,现在可以使用了.
I have no idea what happened, but I switched my debug port to 9000 and upgraded to Netbeans 6.9, and it works now.
这篇关于Netbeans Xdebug噩梦的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!