-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Interactive-Debuggingdebugging PowerShell scriptdebugging PowerShell script
Milestone
Description
It would be good to have the ability to drop into the script debugger on error. This is relatively easy for non-terminating errors since the PowerShell engine continues to run and so the debugger runs. But exceptions are trickier since the process state is unknown. For exceptions thrown by PowerShell (ErrorAction: "Stop") we could stop in the debugger before throwing the exception. It might be possible to have an unhandled exception handler to allow inspection of the runspace on a thrown exception.
rkeithhill, ili101, Leon99, SeeminglyScience and corbobLeon99 and SeeminglyScience
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugWG-Interactive-Debuggingdebugging PowerShell scriptdebugging PowerShell script