【发布时间】:2019-12-22 02:09:37
【问题描述】:
我在 Windows 7 上的 Virtualbox 中全新安装了 Ubuntu 19.10。
我有最新的 PhpStorm:2019.3(在 Windows 上运行)。
我有 PHP 7.3.11,禁用了操作码,使用 nginx 运行。
我有 xdebug 2.7.2。
我已经完成了配置,就像在另一台使用旧版本的 PhpStorm、PHP 和 xdebug 的机器上一样,效果很好。
当我尝试调试时 - PhpStorm 不会在断点处停止。 我启用了 PhpStorm 的调试日志。我看到有关连接成功的消息,然后:
INFO - n.XdebugConnectionConfigurator - Xdebug protocol doesn't support command: 'feature_set -i 5 -n resolved_breakpoints -v 1'
我启用了 xdebug 日志记录,并看到了一些成功消息,然后是:
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" status="starting" reason="ok"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>
所以在我看来,PhpStorm 实际上是在尝试发送不受支持的命令。
以前有没有人遇到过这个问题并且可以分享一个解决方法?
【问题讨论】: