Add "Toggle Breakpoint" to command palette (#216561)

Fix #207167
This commit is contained in:
Rob Lourens 2024-06-18 18:09:42 -07:00 committed by GitHub
parent 54e0cddffb
commit 23c85ae40f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,7 @@ class ToggleBreakpointAction extends Action2 {
...nls.localize2('toggleBreakpointAction', "Debug: Toggle Breakpoint"),
mnemonicTitle: nls.localize({ key: 'miToggleBreakpoint', comment: ['&& denotes a mnemonic'] }, "Toggle &&Breakpoint"),
},
f1: true,
precondition: CONTEXT_DEBUGGERS_AVAILABLE,
keybinding: {
when: ContextKeyExpr.or(EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLY_VIEW_FOCUS),