WSL2,Ubuntu 20.04和Phpstorm -XDebug 2.9.2无法连接

发布于 2025-02-14 02:05:10 字数 719 浏览 3 评论 0原文

我一直在尝试设置提到的XDEBUG工作。我已经搜索了互联网以寻求答案,但我发现没有工作。经过所有设置所有设置的动作之后,当我在代码中的一个中断时运行调试器时,我得到的“连接未建立”。

-dxdebug.remote_enable=1
-dxdebug.remote_port=9000
-dxdebug.remote_host=127.0.0.1

“

任何帮助都将不胜感激。

I have been trying to setup the mentioned to get Xdebug to work. I have search the internet for answers, I have found none that work. After going through the motions of setting it all up, when I run the debugger against a break in my code I get "Connection was not established".

Error

-dxdebug.remote_enable=1
-dxdebug.remote_port=9000
-dxdebug.remote_host=127.0.0.1

Interpreter

Debug settings

Any help would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文