Debian Squeeze中的xdebug.remote_connect_back无效

时间:2011-10-29 00:43:32

标签: php netbeans debian xdebug

我正在尝试在运行Debian squeeze的服务器上设置远程调试。 我通过在xdebug-config中设置主机的IP来实现它。但我想从所有主机启用调试会话。这应该可以通过设置

来实现
 xdebug.remote_connect_back=on

但是,如果我添加该行,则调试器不再连接回来(尝试使用Netbeans)。这应该由Debian Squeeze(2.1.0-1)附带的xdebug支持。

那是我的/etc/php5/conf.d/xdebug.ini:

    zend_extension=/usr/lib/php5/20090626/xdebug.so
    ; Remote settings
    xdebug.remote_autostart=off
    xdebug.remote_enable=on
    xdebug.remote_handler=dbgp
    xdebug.remote_mode=req
    ; overrides the host setting, but seems to not work
    ; xdebug.remote_connect_back=on
    xdebug.remote_host=192.168.23.22
    xdebug.remote_port=9000

这种方式有效。如果取消注释xdebug.remote_connect_back = on,它将停止工作。为什么呢?

0 个答案:

没有答案