Skip to content

Commit 8ee57a5

Browse files
authored
fix: only enter debug mode on f11 when debug view is visible (#1255)
Fixes microsoft/vscode#141157
1 parent 56f1d5c commit 8ee57a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/build/generate-contributions.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,10 @@ const keybindings = [
14621462
command: Commands.StartWithStopOnEntry,
14631463
key: 'F11',
14641464
mac: 'F11',
1465-
when: forNodeDebugType('debugConfigurationType', '!inDebugMode'),
1465+
when: forNodeDebugType(
1466+
'debugConfigurationType',
1467+
'!inDebugMode && activeViewlet == workbench.view.debug',
1468+
),
14661469
},
14671470
];
14681471

0 commit comments

Comments
 (0)