Closed
Description
Hi,
Is it possible to have PowerShell debugger in VSCode to break in case there's an unhandled exception/error record being sent to the console (kind of like ErrorActionPreference set to Inquire for cmdlets, but for regular exceptions as well)? That could really make debugging experience much better. Currently, every time I see an unhandled error on the console, I have to figure out where did it come from, set one or more breakpoints and restart debugging and if VSCode could break automatically, it would save me from the manual effort.
Thanks,
Glober777