diff options
Diffstat (limited to 'src/vs/workbench/parts/debug')
-rw-r--r-- | src/vs/workbench/parts/debug/electron-browser/debugViewer.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vs/workbench/parts/debug/electron-browser/debugViewer.ts b/src/vs/workbench/parts/debug/electron-browser/debugViewer.ts index bc97bf770ba..53aab6d7a27 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugViewer.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugViewer.ts @@ -1297,6 +1297,10 @@ export class BreakpointsController extends BaseDebugController { } public openBreakpointSource(breakpoint: Breakpoint, event: IKeyboardEvent | IMouseEvent, preserveFocus: boolean): void { + if (breakpoint.uri.scheme === debug.DEBUG_SCHEME && this.debugService.state === debug.State.Inactive) { + return; + } + const sideBySide = (event && (event.ctrlKey || event.metaKey)); const selection = breakpoint.endLineNumber ? { startLineNumber: breakpoint.lineNumber, |