2010-11-14 95 views
0

我不能让netbeans 6.9和xdebug一起工作。奇怪我试过telnet用ubuntu中的netbeans进行php调试

[email protected]:~/www/nerkl$ telnet localhost 9000 
Trying ::1... 
Trying 127.0.0.1... 
telnet: Unable to connect to remote host: Connection refused 
[email protected]:~/www/nerkl$ telnet bogaz 9000 
Trying 127.0.0.1... 
telnet: Unable to connect to remote host: Connection refused 

我也找不到debugclient。

xdebug工作:我得到了日志和漂亮的错误报告。

我该怎么办? 我只想要一个基本的步骤跟踪。

回答

0

xdebug工作:我得到了日志记录和漂亮的错误报告。

您需要启用远程调试。

xdebug.ini试试这个:

[xdebug] 
xdebug.remote_autostart = 1 
xdebug.remote_enable = 1 
xdebug.remote_host = localhost 
xdebug.remote_port = 9000