【问题标题】:Eclipse xdebug session never completes and holds on 48%Eclipse xdebug 会话永远不会完成并保持 48%
【发布时间】:2017-03-12 19:47:10
【问题描述】:

当我尝试调试文件时,它保持在 48% 并且 comuniacate 写道:等待 Xdebug 会话... 我正在尝试让 xdebug 与 Eclipse Neon.1a / php 一起工作(在 xampp windows 7 上)。我已经验证在phpinfo(); 中启用了xdebug 我有remote_debug=On。 我已经安装了带有https://xdebug.org/wizard.php 提示的xdebug。 我的php.ini 文件:

[xdebug]
zend_extension=/path/to/xdebug.so(.dll)
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9001
xdebug.remote_host=localhost
xdebug.remote_log=/path/to/xdebug_remote_log
xdebug.remote_connect_back=1

我尝试使用remote_port=9000,但问题并没有消失。 在php.ini,我也赞扬: zend_extension = D:\Serwer\xampp\php\ext\php_xdebug-2.4.1-7.0-vc14.dll 我试图注释 zend_extension 的一行或另一行。 我在 eclipse xdebug 设置中有很好的设置。 这是我在论坛上的第一篇文章,请多多包涵:)

【问题讨论】:

    标签: php eclipse xdebug


    【解决方案1】:

    您需要检查 xdebug_remote_log,我遇到了同样的问题。 I:连接到配置的地址/端口:127.0.0.1:19006。 E:连接客户端超时。 :-( 这是 xdebug 打印的错误。

    【讨论】:

    • 如果您发布更多描述性和格式更好的答案会更好。
    猜你喜欢
    • 2011-01-23
    • 1970-01-01
    • 2012-04-01
    • 2010-12-18
    • 1970-01-01
    • 1970-01-01
    • 2017-01-27
    • 1970-01-01
    相关资源
    最近更新 更多