如何使用 xdebug 和 IntelliJ / PHPStorm 查看未捕获异常的回溯?

How to see backtrace of an uncaught exception using xdebug and IntelliJ / PHPStorm?

我已经在虚拟机中的客户机 OS 上设置了远程调试。断点有效,但如果到达断点,则会在呈现的屏幕上显示异常。我想要的是 "caught" 异常,这样我就可以在 IntelliJ 调试器中的错误点探索回溯。这可能吗?我需要启用什么才能做到这一点?

注意:分析器已关闭,几乎所有内容都设置为 xdebug 中的默认值。主人和客人 OS 是 Windows.

创建"exception breakpoints"以在运行时捕获异常 https://confluence.jetbrains.com/display/PhpStorm/Using+the+PhpStorm+Debugger#UsingthePhpStormDebugger-BreakingwhenThingsBreakExceptionBreakpoints

我添加了 ExceptionWarningNotice

注意:XDebug 的 JIT 模式虽然提供即时异常处理,但不允许使用断点,所以这并没有直接解决我的需要。