When in a debug prompt... this PowerShell bug is exposed: https://github.com/PowerShell/PowerShell/issues/12297 On this line: https://github.com/PowerShell/PowerShell/blob/9212aac0fa020b657454ef4f9ff2fdd6fc6d759c/src/System.Management.Automation/engine/debugger/debugger.cs#L2360 Since we support 5.1... we have no option here but to revert https://github.com/PowerShell/PowerShellEditorServices/pull/1258