虽然主机IDE正在监听,但xdebug会立即超时

时间:2014-10-14 16:40:51

标签: php timeout xdebug

尝试通过openVPN,php 5.3.3远程调试,禁用selinux,禁用本地win防火墙。

以下是来自xdebug调试日志的片段:

Log opened at 2014-10-14 20:35:03 
I: Checking remote connect back address.
I: Remote address found, connecting to 10.113.255.38:9000. 
E: Time-out connecting to client. :-( 
Log closed at 2014-10-14 20:35:04

^C

在此之后:

[root@mn httpd]# telnet 10.113.255.38 9000 
Trying 10.113.255.38...
Connected to 10.113.255.38. 
Escape character is '^]'.

所以IDE(PHPCharm)实际上正在侦听外部连接。这是xdebug.ini:

zend_extension='/usr/lib64/php/modules/xdebug.so' 
;xdebug.remote_host=10.113.255.38 
xdebug.remote_connect_back=1 
xdebug.remote_log=/tmp/xdebug-debug.log 
xdebug.remote_port=9000 
xdebug.max_nesting_level=200 
xdebug.remote_enable=1 xdebug.idekey='PP'
xdebug.remote_autostart=1

可能是什么问题?任何提示都受到高度赞赏。

0 个答案:

没有答案