【问题标题】:XDebug doesn't work with Eclipse PHP on Ubuntu 12.04XDebug 不适用于 Ubuntu 12.04 上的 Eclipse PHP
【发布时间】:2012-07-17 20:01:49
【问题描述】:

我在 Eclipse PHP (Helios) 上进行 (x) 调试时遇到问题。在我从 Ubuntu 10 升级到 12 之前它运行良好,但现在不行了。

我在 php.ini 中添加了这个:

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5_3.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_connect_back=1
xdebug.remote_host=laptopname
xdebug.remote_port=9000
xdebug.remote_log=/var/log/xdebug.log
xdebug.idekey="ECLIPSE_DBGP"
extension=imap.so

Eclipse(XDebug)的设置是:

Debug Port : 9000
Show super globals in variable view : ticked
Max array depth : 7
Max children : 100
Use Multisession : ticked
Accept remote session (JIT) : any
Output Capture Settings : both copy
DBGp Proxy Support : not ticked

感谢任何提示或建议。

【问题讨论】:

    标签: eclipse ubuntu xdebug


    【解决方案1】:

    您似乎没有加载 xdebug.so

    zend_extension=/usr/local/ioncube/ioncube_loader_lin_5_3.so
    

    下面这行是多余的

    xdebug.remote_host=laptopname
    

    因为,你正在使用

    xdebug.remote_connect_back=1
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-17
      • 2012-07-06
      相关资源
      最近更新 更多