phpstorm xdebug& Docker

发布于 2025-02-05 19:05:00 字数 275 浏览 4 评论 0原文

我正在使用phpstorm,docker和xdebug 3上的WSL2工作。

我的线断点工作正常,但例外断点不会触发任何断裂。我不知道为什么会失败。

与线路断点相比,是否需要其他配置?

I am working on WSL2 with PhpStorm, Docker and Xdebug 3.

My line breakpoints are working fine but exception breakpoints don't trigger any break. I have no idea why this fails.

Is any additional configuration required compared to line breakpoints?

enter image description here

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

刘备忘录 2025-02-12 19:05:00

您在此处设置的唯一例外断点是通知,而不是其他任何一个。

如果要打破所有异常,请使用*而不是通知作为值,或者以其他方式使用您想要捕获的顶级异常的类或接口名称。

The only exception breakpoint that you have set up here, is the one for Notice, and not for anything else.

If you want to break on all exceptions, use * instead of Notice as value, or otherwise a class or interface name of the top level exception that you want to catch.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文