diff --git a/src/vs/workbench/contrib/debug/browser/debugSession.ts b/src/vs/workbench/contrib/debug/browser/debugSession.ts index 037d333ed2551e820f425b3861fb70c848952c2c..16f62f1d7dd8c05ea247731eac47e88c48f1c608 100644 --- a/src/vs/workbench/contrib/debug/browser/debugSession.ts +++ b/src/vs/workbench/contrib/debug/browser/debugSession.ts @@ -675,7 +675,7 @@ export class DebugSession implements IDebugSession { this.viewletService.openViewlet(VIEWLET_ID); } - if (this.configurationService.getValue('debug.autoFocusEditor')) { + if (this.configurationService.getValue('debug').focusWindowOnBreak) { this.windowService.focusWindow(); } } diff --git a/src/vs/workbench/contrib/debug/common/debug.ts b/src/vs/workbench/contrib/debug/common/debug.ts index 1ac7b96593dd798cb99e8511644c6832b44de689..1798b2838c6f0d5c5ab608ab25a0e04f62a6a797 100644 --- a/src/vs/workbench/contrib/debug/common/debug.ts +++ b/src/vs/workbench/contrib/debug/common/debug.ts @@ -440,6 +440,7 @@ export interface IDebugConfiguration { lineHeight: number; wordWrap: boolean; }; + focusWindowOnBreak: boolean; } export interface IGlobalConfig {