eclipse - XDebug 不适用于 Ubuntu 12.04 上的 Eclipse PHP

标签 eclipse ubuntu xdebug

我在 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

我很感谢任何提示或建议。

最佳答案

您似乎没有加载 xdebug.so

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

以下行是多余的
xdebug.remote_host=laptopname

因为,你正在使用
xdebug.remote_connect_back=1

关于eclipse - XDebug 不适用于 Ubuntu 12.04 上的 Eclipse PHP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11530004/

相关文章:

PhpStorm+Xdebug 只有在使用外部 IP 地址时才会触发断点

xcode - 在 MacOS Catalina 10.15 上安装 Xdebug

java - 缺少 Artifact com.oracle :ojdbc7 in eclipse

python - matplotlib 的 xkcd() 不工作

python - v4l2 文档的示例代码原样(打开为 'rw' )?

ubuntu - 如何更改默认的 upstart 日志目录?

php - netbeans 和 xdebug 与 laravel

Eclipse PDE : what should 'categorize repository' do on an export of a deployable feature?

java - Jersey 注释的注释处理器

eclipse - Eclipse 的最佳 JVM 设置是什么?