我正在尝试为我的虚拟Ubuntu 14.04设置远程调试。
我已经通过将以下内容添加到server.ini
中启用了我的HHVM 3.3.0上的xdebug:
hhvm.xdebug-not-done.enable=1
hhvm.xdebug-not-done.remote_enable=1
但是对我没用。我需要采取其他措施来让它工作吗?
HHVM 3.3已经不再受支持,但自从HHVM 3.4以来,您在配置中不需要使用-not-done
(是的,它很稳定!)。例如:
xdebug.enable=1
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.idekey="PHPSTORM"
xdebug.remote_host="localhost"
xdebug.remote_port=9089
idekey
。我已经定义了 enable
、remote_enable
和 connect_back
。由于我正在 VM 中运行 xdebug
,所以我将 connect_back
设置为它会覆盖 remote_host
……但它没有起作用。我想现在是时候提一个新问题了。感谢您的帮助。 - Oxwivi