Xdebug + PhpStorm 不适用于使用 localwp 设置的 WordPress 站点

问题描述

我想使用此处描述的 PHPStorm 的零配置调试https://www.jetbrains.com/help/phpstorm/zero-configuration-debugging.html 我不久前设置了它并且我知道它可以工作。

但是,当我侦听 PHP 调试连接并加载站点时,我收到以下错误/屏幕,我不知道在这里做什么,为什么它会在该脚本上中断:

enter image description here

以下是我从 wpengine 通过 localwp 拉到我的机器上的站点的详细信息,请注意它是 https(我也尝试过勾选 https 框,这不会影响我遇到的问题):

enter image description here

这是我在 PHPStorm 首选项中添加的服务器,它通过“验证 Web 服务器上的调试器配置”进行验证:

enter image description here

enter image description here

还有我的 Xdebug 偏好:

enter image description here

有人知道发生了什么以及如何解决吗?

使用 localwp 应用提供的 Xdebug + PHPStorm 插件时也会发生这种情况。我已经通过 localwp 应用添加了运行配置,这是我看到的设置(如下)。 请注意,它不会将其识别为 https

enter image description here

enter image description here

enter image description here

当我运行“本地”调试时,它仍然在同一个脚本上中断:

enter image description here

enter image description here

版本: PHPStorm v2021.1 localwp v6.0.0(但在以前的版本中也不起作用)

知道这里发生了什么以及如何解决吗?我真的很感激任何帮助,谢谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)