Skip to content

Commit 1fa8c2f

Browse files
committed
fix focusWindowOnBreak
1 parent 466e5ef commit 1fa8c2f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/vs/workbench/contrib/debug/browser/debugSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ export class DebugSession implements IDebugSession {
675675
this.viewletService.openViewlet(VIEWLET_ID);
676676
}
677677

678-
if (this.configurationService.getValue<boolean>('debug.autoFocusEditor')) {
678+
if (this.configurationService.getValue<IDebugConfiguration>('debug').focusWindowOnBreak) {
679679
this.windowService.focusWindow();
680680
}
681681
}

src/vs/workbench/contrib/debug/common/debug.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ export interface IDebugConfiguration {
440440
lineHeight: number;
441441
wordWrap: boolean;
442442
};
443+
focusWindowOnBreak: boolean;
443444
}
444445

445446
export interface IGlobalConfig {

0 commit comments

Comments
 (0)