@codingame/monaco-vscode-debug-service-override 23.0.2 → 23.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +15 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +112 -112
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +24 -24
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +9 -9
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +21 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +43 -43
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +5 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/replAccessibilityHelp.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/runAndDebugAccessibilityHelp.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +44 -44
- package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +2 -2
|
@@ -64,7 +64,7 @@ import { WelcomeView } from './welcomeView.js';
|
|
|
64
64
|
|
|
65
65
|
registerCss(debug_contribution);
|
|
66
66
|
registerCss(debugHover);
|
|
67
|
-
const debugCategory = ( localize(
|
|
67
|
+
const debugCategory = ( localize(6414, "Debug"));
|
|
68
68
|
registerColors();
|
|
69
69
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -80,9 +80,9 @@ if (isWeb) {
|
|
|
80
80
|
ctor: StartDebugQuickAccessProvider,
|
|
81
81
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
82
82
|
contextKey: 'inLaunchConfigurationsPicker',
|
|
83
|
-
placeholder: ( localize(
|
|
83
|
+
placeholder: ( localize(6415, "Type the name of a launch configuration to run.")),
|
|
84
84
|
helpEntries: [{
|
|
85
|
-
description: ( localize(
|
|
85
|
+
description: ( localize(6416, "Start Debugging")),
|
|
86
86
|
commandId: SELECT_AND_START_ID,
|
|
87
87
|
commandCenterOrder: 50
|
|
88
88
|
}]
|
|
@@ -91,8 +91,8 @@ if (isWeb) {
|
|
|
91
91
|
ctor: DebugConsoleQuickAccess,
|
|
92
92
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
93
93
|
contextKey: 'inDebugConsolePicker',
|
|
94
|
-
placeholder: ( localize(
|
|
95
|
-
helpEntries: [{ description: ( localize(
|
|
94
|
+
placeholder: ( localize(6417, "Type the name of a debug console to open.")),
|
|
95
|
+
helpEntries: [{ description: ( localize(6418, "Show All Debug Consoles")), commandId: SELECT_DEBUG_CONSOLE_ID }]
|
|
96
96
|
});
|
|
97
97
|
registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
98
98
|
registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, EditorContributionInstantiation.AfterFirstRender);
|
|
@@ -110,7 +110,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
110
110
|
});
|
|
111
111
|
};
|
|
112
112
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
113
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
113
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(6419, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
114
114
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
115
115
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
116
116
|
registerDebugCommandPaletteItem(STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')))));
|
|
@@ -120,12 +120,12 @@ registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBU
|
|
|
120
120
|
registerDebugCommandPaletteItem(DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, ( ContextKeyExpr.and(CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)))));
|
|
121
121
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
122
122
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
123
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
124
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
123
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6420, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
124
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(6421, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
125
125
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
126
126
|
registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
|
|
127
127
|
registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
|
|
128
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
128
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(6422, "Inline Breakpoint")));
|
|
129
129
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
130
130
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
131
131
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -161,35 +161,35 @@ registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LA
|
|
|
161
161
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
162
162
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
163
163
|
registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
|
|
164
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
165
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
166
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
167
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
168
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
164
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(6419, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), CONTEXT_TERMINATE_THREADS_SUPPORTED, 'termination');
|
|
165
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(6423, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
166
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(6424, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
|
|
167
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(6425, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
168
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(6426, "Set Value")), 10, ( ContextKeyExpr.or(CONTEXT_SET_VARIABLE_SUPPORTED, ( ContextKeyExpr.and(CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
169
169
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
170
170
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
171
171
|
registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
172
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
173
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
174
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
175
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
172
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6427, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
173
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6428, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
174
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6429, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
175
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(6425, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
|
|
176
176
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, COPY_VALUE_LABEL, 10, undefined, undefined, '5_cutcopypaste');
|
|
177
177
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
|
|
178
178
|
registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ADD_TO_WATCH_LABEL, 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
|
|
179
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
180
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
181
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
179
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6427, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
180
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6428, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
181
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6429, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
182
182
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
|
|
183
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
184
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
185
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
183
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(6430, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
|
|
184
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(6426, "Set Value")), 30, ( ContextKeyExpr.or(( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), CONTEXT_SET_EXPRESSION_SUPPORTED)), ( ContextKeyExpr.and(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')), CONTEXT_SET_VARIABLE_SUPPORTED)))), ( CONTEXT_VARIABLE_IS_READONLY.toNegated()), '3_modification');
|
|
185
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(6431, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
186
186
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_EVALUATE_PATH_ID, COPY_EVALUATE_PATH_LABEL, 50, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_IN_DEBUG_MODE, '3_modification');
|
|
187
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
188
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
187
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(6425, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
|
|
188
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(6432, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
|
|
189
189
|
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
|
|
190
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
191
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
192
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
190
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(6427, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
|
|
191
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(6428, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
|
|
192
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(6429, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
|
|
193
193
|
registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
|
|
194
194
|
KeybindingsRegistry.registerKeybindingRule({
|
|
195
195
|
id: COPY_VALUE_ID,
|
|
@@ -220,12 +220,12 @@ if (isMacintosh) {
|
|
|
220
220
|
registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
|
|
221
221
|
registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
|
|
222
222
|
}
|
|
223
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(
|
|
223
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, isSplitButton: { togglePrimaryAction: true }, title: ( localize2(6433, "Run or Debug...")), icon: debugRun, group: 'navigation', order: -1 });
|
|
224
224
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
225
225
|
submenu: MenuId.MenubarDebugMenu,
|
|
226
226
|
title: {
|
|
227
|
-
...( localize2(
|
|
228
|
-
mnemonicTitle: ( localize(
|
|
227
|
+
...( localize2(6434, "Run")),
|
|
228
|
+
mnemonicTitle: ( localize(6435, "&&Run"))
|
|
229
229
|
},
|
|
230
230
|
order: 6
|
|
231
231
|
});
|
|
@@ -233,7 +233,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
233
233
|
group: '1_debug',
|
|
234
234
|
command: {
|
|
235
235
|
id: DEBUG_START_COMMAND_ID,
|
|
236
|
-
title: ( localize(
|
|
236
|
+
title: ( localize(6436, "&&Start Debugging"))
|
|
237
237
|
},
|
|
238
238
|
order: 1,
|
|
239
239
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -242,7 +242,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
242
242
|
group: '1_debug',
|
|
243
243
|
command: {
|
|
244
244
|
id: DEBUG_RUN_COMMAND_ID,
|
|
245
|
-
title: ( localize(
|
|
245
|
+
title: ( localize(6437, "Run &&Without Debugging"))
|
|
246
246
|
},
|
|
247
247
|
order: 2,
|
|
248
248
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -251,7 +251,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
251
251
|
group: '1_debug',
|
|
252
252
|
command: {
|
|
253
253
|
id: STOP_ID,
|
|
254
|
-
title: ( localize(
|
|
254
|
+
title: ( localize(6438, "&&Stop Debugging")),
|
|
255
255
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
256
256
|
},
|
|
257
257
|
order: 3,
|
|
@@ -261,7 +261,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
261
261
|
group: '1_debug',
|
|
262
262
|
command: {
|
|
263
263
|
id: RESTART_SESSION_ID,
|
|
264
|
-
title: ( localize(
|
|
264
|
+
title: ( localize(6439, "&&Restart Debugging")),
|
|
265
265
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
266
266
|
},
|
|
267
267
|
order: 4,
|
|
@@ -271,7 +271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
271
271
|
group: '2_configuration',
|
|
272
272
|
command: {
|
|
273
273
|
id: ADD_CONFIGURATION_ID,
|
|
274
|
-
title: ( localize(
|
|
274
|
+
title: ( localize(6440, "A&&dd Configuration..."))
|
|
275
275
|
},
|
|
276
276
|
order: 2,
|
|
277
277
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -280,7 +280,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
280
280
|
group: '3_step',
|
|
281
281
|
command: {
|
|
282
282
|
id: STEP_OVER_ID,
|
|
283
|
-
title: ( localize(
|
|
283
|
+
title: ( localize(6441, "Step &&Over")),
|
|
284
284
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
285
285
|
},
|
|
286
286
|
order: 1,
|
|
@@ -290,7 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
290
290
|
group: '3_step',
|
|
291
291
|
command: {
|
|
292
292
|
id: STEP_INTO_ID,
|
|
293
|
-
title: ( localize(
|
|
293
|
+
title: ( localize(6442, "Step &&Into")),
|
|
294
294
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
295
295
|
},
|
|
296
296
|
order: 2,
|
|
@@ -300,7 +300,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
300
300
|
group: '3_step',
|
|
301
301
|
command: {
|
|
302
302
|
id: STEP_OUT_ID,
|
|
303
|
-
title: ( localize(
|
|
303
|
+
title: ( localize(6443, "Step O&&ut")),
|
|
304
304
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
305
305
|
},
|
|
306
306
|
order: 3,
|
|
@@ -310,7 +310,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
310
310
|
group: '3_step',
|
|
311
311
|
command: {
|
|
312
312
|
id: CONTINUE_ID,
|
|
313
|
-
title: ( localize(
|
|
313
|
+
title: ( localize(6444, "&&Continue")),
|
|
314
314
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
|
|
315
315
|
},
|
|
316
316
|
order: 4,
|
|
@@ -320,14 +320,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
320
320
|
group: '1_breakpoints',
|
|
321
321
|
command: {
|
|
322
322
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
323
|
-
title: ( localize(
|
|
323
|
+
title: ( localize(6445, "Inline Breakp&&oint"))
|
|
324
324
|
},
|
|
325
325
|
order: 2,
|
|
326
326
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
327
327
|
});
|
|
328
328
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
329
329
|
group: '4_new_breakpoint',
|
|
330
|
-
title: ( localize(
|
|
330
|
+
title: ( localize(6446, "&&New Breakpoint")),
|
|
331
331
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
332
332
|
order: 2,
|
|
333
333
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -345,7 +345,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
345
345
|
group: '3_breakpoints',
|
|
346
346
|
command: {
|
|
347
347
|
id: TOGGLE_BREAKPOINT_ID,
|
|
348
|
-
title: ( localize(
|
|
348
|
+
title: ( localize(6447, "Toggle Breakpoint")),
|
|
349
349
|
},
|
|
350
350
|
order: 2,
|
|
351
351
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -354,13 +354,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
354
354
|
group: 'z_install',
|
|
355
355
|
command: {
|
|
356
356
|
id: 'debug.installAdditionalDebuggers',
|
|
357
|
-
title: ( localize(
|
|
357
|
+
title: ( localize(6448, "&&Install Additional Debuggers..."))
|
|
358
358
|
},
|
|
359
359
|
order: 1
|
|
360
360
|
});
|
|
361
361
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
362
362
|
id: DEBUG_PANEL_ID,
|
|
363
|
-
title: ( localize2(
|
|
363
|
+
title: ( localize2(6449, "Debug Console")),
|
|
364
364
|
icon: debugConsoleViewIcon,
|
|
365
365
|
ctorDescriptor: ( new SyncDescriptor(
|
|
366
366
|
ViewPaneContainer,
|
|
@@ -372,7 +372,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
372
372
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
373
373
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
374
374
|
id: REPL_VIEW_ID,
|
|
375
|
-
name: ( localize2(
|
|
375
|
+
name: ( localize2(6449, "Debug Console")),
|
|
376
376
|
containerIcon: debugConsoleViewIcon,
|
|
377
377
|
canToggleVisibility: true,
|
|
378
378
|
canMoveView: true,
|
|
@@ -380,17 +380,17 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
380
380
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
381
381
|
openCommandActionDescriptor: {
|
|
382
382
|
id: 'workbench.debug.action.toggleRepl',
|
|
383
|
-
mnemonicTitle: ( localize(
|
|
383
|
+
mnemonicTitle: ( localize(6450, "De&&bug Console")),
|
|
384
384
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY },
|
|
385
385
|
order: 2
|
|
386
386
|
}
|
|
387
387
|
}], VIEW_CONTAINER);
|
|
388
388
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
389
389
|
id: VIEWLET_ID,
|
|
390
|
-
title: ( localize2(
|
|
390
|
+
title: ( localize2(6451, "Run and Debug")),
|
|
391
391
|
openCommandActionDescriptor: {
|
|
392
392
|
id: VIEWLET_ID,
|
|
393
|
-
mnemonicTitle: ( localize(
|
|
393
|
+
mnemonicTitle: ( localize(6452, "&&Run")),
|
|
394
394
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD },
|
|
395
395
|
order: 3
|
|
396
396
|
},
|
|
@@ -400,49 +400,49 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
400
400
|
order: 3,
|
|
401
401
|
}, ViewContainerLocation.Sidebar);
|
|
402
402
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
403
|
-
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(
|
|
404
|
-
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(
|
|
405
|
-
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(
|
|
406
|
-
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(
|
|
403
|
+
viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2(6453, "Variables")), containerIcon: variablesViewIcon, ctorDescriptor: ( new SyncDescriptor(VariablesView)), order: 10, weight: 40, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusVariablesView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
404
|
+
viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2(6454, "Watch")), containerIcon: watchViewIcon, ctorDescriptor: ( new SyncDescriptor(WatchExpressionsView)), order: 20, weight: 10, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusWatchView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
405
|
+
viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2(6455, "Call Stack")), containerIcon: callStackViewIcon, ctorDescriptor: ( new SyncDescriptor(CallStackView)), order: 30, weight: 30, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusCallStackView' }, when: ( CONTEXT_DEBUG_UX.isEqualTo('default')) }], viewContainer);
|
|
406
|
+
viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2(6456, "Breakpoints")), containerIcon: breakpointsViewIcon, ctorDescriptor: ( new SyncDescriptor(BreakpointsView)), order: 40, weight: 20, canToggleVisibility: true, canMoveView: true, focusCommand: { id: 'workbench.debug.action.focusBreakpointsView' }, when: ( ContextKeyExpr.or(CONTEXT_BREAKPOINTS_EXIST, ( CONTEXT_DEBUG_UX.isEqualTo('default')), CONTEXT_HAS_DEBUGGED)) }], viewContainer);
|
|
407
407
|
viewsRegistry.registerViews([{ id: WelcomeView.ID, name: WelcomeView.LABEL, containerIcon: runViewIcon, ctorDescriptor: ( new SyncDescriptor(WelcomeView)), order: 1, weight: 40, canToggleVisibility: true, when: ( CONTEXT_DEBUG_UX.isEqualTo('simple')) }], viewContainer);
|
|
408
|
-
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(
|
|
409
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
408
|
+
viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2(6457, "Loaded Scripts")), containerIcon: loadedScriptsViewIcon, ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)), order: 35, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: true, when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo('default')))) }], viewContainer);
|
|
409
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(6458, "Disassembly"))), [( new SyncDescriptor(DisassemblyViewInput))]);
|
|
410
410
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
411
411
|
configurationRegistry.registerConfiguration({
|
|
412
412
|
id: 'debug',
|
|
413
413
|
order: 20,
|
|
414
|
-
title: ( localize(
|
|
414
|
+
title: ( localize(6459, "Debug")),
|
|
415
415
|
type: 'object',
|
|
416
416
|
properties: {
|
|
417
417
|
'debug.showVariableTypes': {
|
|
418
418
|
type: 'boolean',
|
|
419
|
-
description: ( localize(
|
|
419
|
+
description: ( localize(6460, "Show variable type in variable pane during debug session")),
|
|
420
420
|
default: false
|
|
421
421
|
},
|
|
422
422
|
'debug.allowBreakpointsEverywhere': {
|
|
423
423
|
type: 'boolean',
|
|
424
|
-
description: ( localize(
|
|
424
|
+
description: ( localize(6461, "Allow setting breakpoints in any file.")),
|
|
425
425
|
default: false
|
|
426
426
|
},
|
|
427
427
|
'debug.gutterMiddleClickAction': {
|
|
428
428
|
type: 'string',
|
|
429
429
|
enum: ['logpoint', 'conditionalBreakpoint', 'triggeredBreakpoint', 'none'],
|
|
430
430
|
description: ( localize(
|
|
431
|
-
|
|
431
|
+
6462,
|
|
432
432
|
'Controls the action to perform when clicking the editor gutter with the middle mouse button.'
|
|
433
433
|
)),
|
|
434
434
|
enumDescriptions: [
|
|
435
|
-
( localize(
|
|
436
|
-
( localize(
|
|
437
|
-
( localize(
|
|
438
|
-
( localize(
|
|
435
|
+
( localize(6463, "Add Logpoint.")),
|
|
436
|
+
( localize(6464, "Add Conditional Breakpoint.")),
|
|
437
|
+
( localize(6465, "Add Triggered Breakpoint.")),
|
|
438
|
+
( localize(6466, "Don't perform any action.")),
|
|
439
439
|
],
|
|
440
440
|
default: 'logpoint',
|
|
441
441
|
},
|
|
442
442
|
'debug.openExplorerOnEnd': {
|
|
443
443
|
type: 'boolean',
|
|
444
444
|
description: ( localize(
|
|
445
|
-
|
|
445
|
+
6467,
|
|
446
446
|
"Automatically open the explorer view at the end of a debug session."
|
|
447
447
|
)),
|
|
448
448
|
default: false
|
|
@@ -450,7 +450,7 @@ configurationRegistry.registerConfiguration({
|
|
|
450
450
|
'debug.closeReadonlyTabsOnEnd': {
|
|
451
451
|
type: 'boolean',
|
|
452
452
|
description: ( localize(
|
|
453
|
-
|
|
453
|
+
6468,
|
|
454
454
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
455
455
|
)),
|
|
456
456
|
default: false
|
|
@@ -458,12 +458,12 @@ configurationRegistry.registerConfiguration({
|
|
|
458
458
|
'debug.inlineValues': {
|
|
459
459
|
type: 'string',
|
|
460
460
|
'enum': ['on', 'off', 'auto'],
|
|
461
|
-
description: ( localize(
|
|
461
|
+
description: ( localize(6469, "Show variable values inline in editor while debugging.")),
|
|
462
462
|
'enumDescriptions': [
|
|
463
|
-
( localize(
|
|
464
|
-
( localize(
|
|
463
|
+
( localize(6470, "Always show variable values inline in editor while debugging.")),
|
|
464
|
+
( localize(6471, "Never show variable values inline in editor while debugging.")),
|
|
465
465
|
( localize(
|
|
466
|
-
|
|
466
|
+
6472,
|
|
467
467
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
468
468
|
)),
|
|
469
469
|
],
|
|
@@ -472,32 +472,32 @@ configurationRegistry.registerConfiguration({
|
|
|
472
472
|
'debug.toolBarLocation': {
|
|
473
473
|
enum: ['floating', 'docked', 'commandCenter', 'hidden'],
|
|
474
474
|
markdownDescription: ( localize(
|
|
475
|
-
|
|
475
|
+
6473,
|
|
476
476
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
477
477
|
'`#window.commandCenter#`'
|
|
478
478
|
)),
|
|
479
479
|
default: 'floating',
|
|
480
480
|
markdownEnumDescriptions: [
|
|
481
|
-
( localize(
|
|
482
|
-
( localize(
|
|
483
|
-
( localize(
|
|
484
|
-
( localize(
|
|
481
|
+
( localize(6474, "Show debug toolbar in all views.")),
|
|
482
|
+
( localize(6475, "Show debug toolbar only in debug views.")),
|
|
483
|
+
( localize(6476, "`(Experimental)` Show debug toolbar in the command center.")),
|
|
484
|
+
( localize(6477, "Do not show debug toolbar.")),
|
|
485
485
|
]
|
|
486
486
|
},
|
|
487
487
|
'debug.showInStatusBar': {
|
|
488
488
|
enum: ['never', 'always', 'onFirstSessionStart'],
|
|
489
|
-
enumDescriptions: [( localize(
|
|
490
|
-
|
|
489
|
+
enumDescriptions: [( localize(6478, "Never show debug in Status bar")), ( localize(6479, "Always show debug in Status bar")), ( localize(
|
|
490
|
+
6480,
|
|
491
491
|
"Show debug in Status bar only after debug was started for the first time"
|
|
492
492
|
))],
|
|
493
|
-
description: ( localize(
|
|
493
|
+
description: ( localize(6481, "Controls when the debug Status bar should be visible.")),
|
|
494
494
|
default: 'onFirstSessionStart'
|
|
495
495
|
},
|
|
496
496
|
'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
497
497
|
'debug.console.closeOnEnd': {
|
|
498
498
|
type: 'boolean',
|
|
499
499
|
description: ( localize(
|
|
500
|
-
|
|
500
|
+
6482,
|
|
501
501
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
502
502
|
)),
|
|
503
503
|
default: false
|
|
@@ -505,7 +505,7 @@ configurationRegistry.registerConfiguration({
|
|
|
505
505
|
'debug.terminal.clearBeforeReusing': {
|
|
506
506
|
type: 'boolean',
|
|
507
507
|
description: ( localize(
|
|
508
|
-
|
|
508
|
+
6483,
|
|
509
509
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
510
510
|
)),
|
|
511
511
|
default: false
|
|
@@ -513,43 +513,43 @@ configurationRegistry.registerConfiguration({
|
|
|
513
513
|
'debug.openDebug': {
|
|
514
514
|
enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
|
|
515
515
|
default: 'openOnDebugBreak',
|
|
516
|
-
description: ( localize(
|
|
516
|
+
description: ( localize(6484, "Controls when the debug view should open."))
|
|
517
517
|
},
|
|
518
518
|
'debug.showSubSessionsInToolBar': {
|
|
519
519
|
type: 'boolean',
|
|
520
520
|
description: ( localize(
|
|
521
|
-
|
|
521
|
+
6485,
|
|
522
522
|
"Controls whether the debug sub-sessions are shown in the debug tool bar. When this setting is false the stop command on a sub-session will also stop the parent session."
|
|
523
523
|
)),
|
|
524
524
|
default: false
|
|
525
525
|
},
|
|
526
526
|
'debug.console.fontSize': {
|
|
527
527
|
type: 'number',
|
|
528
|
-
description: ( localize(
|
|
528
|
+
description: ( localize(6486, "Controls the font size in pixels in the Debug Console.")),
|
|
529
529
|
default: isMacintosh ? 12 : 14,
|
|
530
530
|
},
|
|
531
531
|
'debug.console.fontFamily': {
|
|
532
532
|
type: 'string',
|
|
533
|
-
description: ( localize(
|
|
533
|
+
description: ( localize(6487, "Controls the font family in the Debug Console.")),
|
|
534
534
|
default: 'default'
|
|
535
535
|
},
|
|
536
536
|
'debug.console.lineHeight': {
|
|
537
537
|
type: 'number',
|
|
538
538
|
description: ( localize(
|
|
539
|
-
|
|
539
|
+
6488,
|
|
540
540
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
541
541
|
)),
|
|
542
542
|
default: 0
|
|
543
543
|
},
|
|
544
544
|
'debug.console.wordWrap': {
|
|
545
545
|
type: 'boolean',
|
|
546
|
-
description: ( localize(
|
|
546
|
+
description: ( localize(6489, "Controls if the lines should wrap in the Debug Console.")),
|
|
547
547
|
default: true
|
|
548
548
|
},
|
|
549
549
|
'debug.console.historySuggestions': {
|
|
550
550
|
type: 'boolean',
|
|
551
551
|
description: ( localize(
|
|
552
|
-
|
|
552
|
+
6490,
|
|
553
553
|
"Controls if the Debug Console should suggest previously typed input."
|
|
554
554
|
)),
|
|
555
555
|
default: true
|
|
@@ -557,7 +557,7 @@ configurationRegistry.registerConfiguration({
|
|
|
557
557
|
'debug.console.collapseIdenticalLines': {
|
|
558
558
|
type: 'boolean',
|
|
559
559
|
description: ( localize(
|
|
560
|
-
|
|
560
|
+
6491,
|
|
561
561
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
562
562
|
)),
|
|
563
563
|
default: true
|
|
@@ -565,20 +565,20 @@ configurationRegistry.registerConfiguration({
|
|
|
565
565
|
'debug.console.acceptSuggestionOnEnter': {
|
|
566
566
|
enum: ['off', 'on'],
|
|
567
567
|
description: ( localize(
|
|
568
|
-
|
|
568
|
+
6492,
|
|
569
569
|
"Controls whether suggestions should be accepted on Enter in the Debug Console. Enter is also used to evaluate whatever is typed in the Debug Console."
|
|
570
570
|
)),
|
|
571
571
|
default: 'off'
|
|
572
572
|
},
|
|
573
573
|
'debug.console.maximumLines': {
|
|
574
574
|
type: 'number',
|
|
575
|
-
description: ( localize(
|
|
575
|
+
description: ( localize(6493, "Controls the maximum number of lines in the Debug Console.")),
|
|
576
576
|
default: 10000
|
|
577
577
|
},
|
|
578
578
|
'launch': {
|
|
579
579
|
type: 'object',
|
|
580
580
|
description: ( localize(
|
|
581
|
-
|
|
581
|
+
6494,
|
|
582
582
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
583
583
|
)),
|
|
584
584
|
default: { configurations: [], compounds: [] },
|
|
@@ -588,7 +588,7 @@ configurationRegistry.registerConfiguration({
|
|
|
588
588
|
'debug.focusWindowOnBreak': {
|
|
589
589
|
type: 'boolean',
|
|
590
590
|
description: ( localize(
|
|
591
|
-
|
|
591
|
+
6495,
|
|
592
592
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
593
593
|
)),
|
|
594
594
|
default: true
|
|
@@ -596,16 +596,16 @@ configurationRegistry.registerConfiguration({
|
|
|
596
596
|
'debug.focusEditorOnBreak': {
|
|
597
597
|
type: 'boolean',
|
|
598
598
|
description: ( localize(
|
|
599
|
-
|
|
599
|
+
6496,
|
|
600
600
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
601
601
|
)),
|
|
602
602
|
default: true
|
|
603
603
|
},
|
|
604
604
|
'debug.onTaskErrors': {
|
|
605
605
|
enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
|
|
606
|
-
enumDescriptions: [( localize(
|
|
606
|
+
enumDescriptions: [( localize(6497, "Ignore task errors and start debugging.")), ( localize(6498, "Show the Problems view and do not start debugging.")), ( localize(6499, "Prompt user.")), ( localize(6500, "Cancel debugging."))],
|
|
607
607
|
description: ( localize(
|
|
608
|
-
|
|
608
|
+
6501,
|
|
609
609
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
610
610
|
)),
|
|
611
611
|
default: 'prompt'
|
|
@@ -613,7 +613,7 @@ configurationRegistry.registerConfiguration({
|
|
|
613
613
|
'debug.showBreakpointsInOverviewRuler': {
|
|
614
614
|
type: 'boolean',
|
|
615
615
|
description: ( localize(
|
|
616
|
-
|
|
616
|
+
6502,
|
|
617
617
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
618
618
|
)),
|
|
619
619
|
default: false
|
|
@@ -621,45 +621,45 @@ configurationRegistry.registerConfiguration({
|
|
|
621
621
|
'debug.showInlineBreakpointCandidates': {
|
|
622
622
|
type: 'boolean',
|
|
623
623
|
description: ( localize(
|
|
624
|
-
|
|
624
|
+
6503,
|
|
625
625
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
626
626
|
)),
|
|
627
627
|
default: true
|
|
628
628
|
},
|
|
629
629
|
'debug.saveBeforeStart': {
|
|
630
|
-
description: ( localize(
|
|
630
|
+
description: ( localize(6504, "Controls what editors to save before starting a debug session.")),
|
|
631
631
|
enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
|
|
632
632
|
enumDescriptions: [
|
|
633
633
|
( localize(
|
|
634
|
-
|
|
634
|
+
6505,
|
|
635
635
|
"Save all editors in the active group before starting a debug session."
|
|
636
636
|
)),
|
|
637
637
|
( localize(
|
|
638
|
-
|
|
638
|
+
6506,
|
|
639
639
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
640
640
|
)),
|
|
641
|
-
( localize(
|
|
641
|
+
( localize(6507, "Don't save any editors before starting a debug session.")),
|
|
642
642
|
],
|
|
643
643
|
default: 'allEditorsInActiveGroup',
|
|
644
644
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
645
645
|
},
|
|
646
646
|
'debug.confirmOnExit': {
|
|
647
647
|
description: ( localize(
|
|
648
|
-
|
|
648
|
+
6508,
|
|
649
649
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
650
650
|
)),
|
|
651
651
|
type: 'string',
|
|
652
652
|
enum: ['never', 'always'],
|
|
653
653
|
enumDescriptions: [
|
|
654
|
-
( localize(
|
|
655
|
-
( localize(
|
|
654
|
+
( localize(6509, "Never confirm.")),
|
|
655
|
+
( localize(6510, "Always confirm if there are debug sessions.")),
|
|
656
656
|
],
|
|
657
657
|
default: 'never'
|
|
658
658
|
},
|
|
659
659
|
'debug.disassemblyView.showSourceCode': {
|
|
660
660
|
type: 'boolean',
|
|
661
661
|
default: true,
|
|
662
|
-
description: ( localize(
|
|
662
|
+
description: ( localize(6511, "Show Source Code in Disassembly View."))
|
|
663
663
|
},
|
|
664
664
|
'debug.autoExpandLazyVariables': {
|
|
665
665
|
type: 'string',
|
|
@@ -667,26 +667,26 @@ configurationRegistry.registerConfiguration({
|
|
|
667
667
|
default: 'auto',
|
|
668
668
|
enumDescriptions: [
|
|
669
669
|
( localize(
|
|
670
|
-
|
|
670
|
+
6512,
|
|
671
671
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
672
672
|
)),
|
|
673
|
-
( localize(
|
|
674
|
-
( localize(
|
|
673
|
+
( localize(6513, "Always automatically expand lazy variables.")),
|
|
674
|
+
( localize(6514, "Never automatically expand lazy variables."))
|
|
675
675
|
],
|
|
676
676
|
description: ( localize(
|
|
677
|
-
|
|
677
|
+
6515,
|
|
678
678
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
679
679
|
))
|
|
680
680
|
},
|
|
681
681
|
'debug.enableStatusBarColor': {
|
|
682
682
|
type: 'boolean',
|
|
683
|
-
description: ( localize(
|
|
683
|
+
description: ( localize(6516, "Color of the Status bar when debugger is active.")),
|
|
684
684
|
default: true
|
|
685
685
|
},
|
|
686
686
|
'debug.hideLauncherWhileDebugging': {
|
|
687
687
|
type: 'boolean',
|
|
688
688
|
markdownDescription: ( localize(
|
|
689
|
-
|
|
689
|
+
6517,
|
|
690
690
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
691
691
|
'`#debug.toolBarLocation#`'
|
|
692
692
|
)),
|
|
@@ -695,7 +695,7 @@ configurationRegistry.registerConfiguration({
|
|
|
695
695
|
'debug.hideSlowPreLaunchWarning': {
|
|
696
696
|
type: 'boolean',
|
|
697
697
|
markdownDescription: ( localize(
|
|
698
|
-
|
|
698
|
+
6518,
|
|
699
699
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
700
700
|
)),
|
|
701
701
|
default: false
|