【问题标题】:Eclipse PHP xdebug stuck at 78% (with MAMP)Eclipse PHP xdebug 卡在 78%(使用 MAMP)
【发布时间】:2016-02-12 20:14:50
【问题描述】:

这是在我的 Mac 上:Eclipse IDE。当我发出调试命令时,我似乎无法让xdebug 完成。

78% 的人说

“正在启动:等待 XDebug 会话...”

我尝试修改php.ini文件无济于事...

这是我的配置:

zend_extension="/Applications/MAMP/bin/php/php7.0.0/lib/php/extensions/no-    
debug-non-zts-20151012/xdebug.so"
xdebug.profiler_enable=1
xdebug.profiler_output_dir = "/tmp/xdebug/"
xdebug.profiler_enable = true
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.remote_handler=dbgp

【问题讨论】:

    标签: php eclipse macos xdebug


    【解决方案1】:

    您需要在 url 中设置调试会话,例如 XDEBUG_SESSION_START=your_key。您可以在您的想法中配置此会话密钥。最后你需要配置你的想法'eclipse'以进行远程调试。

    【讨论】:

      猜你喜欢
      • 2016-10-04
      • 1970-01-01
      • 2015-07-22
      • 1970-01-01
      • 2011-11-11
      • 2011-04-04
      • 2011-02-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多