@codingame/monaco-vscode-debug-service-override 30.0.1 → 31.0.0
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 +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +16 -16
- package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +107 -106
- package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugChatIntegration.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +13 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +8 -8
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +23 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +42 -42
- package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +15 -15
- 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 +12 -12
- 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 +36 -36
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +43 -43
- 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
|
@@ -16,7 +16,7 @@ import { Extensions as Extensions$1 } from '@codingame/monaco-vscode-api/vscode/
|
|
|
16
16
|
import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
|
|
17
17
|
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
|
|
18
18
|
import { ViewPaneContainer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
19
|
-
import { FocusedViewContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
19
|
+
import { FocusedViewContext, IsSessionsWindowContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
20
20
|
import { Extensions, registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
21
21
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
22
22
|
import { Extensions as Extensions$2, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
@@ -65,7 +65,7 @@ import { DebugChatContextContribution } from './debugChatIntegration.js';
|
|
|
65
65
|
|
|
66
66
|
registerCss(debug_contribution);
|
|
67
67
|
registerCss(debugHover);
|
|
68
|
-
const debugCategory = ( localize(
|
|
68
|
+
const debugCategory = ( localize(8300, "Debug"));
|
|
69
69
|
registerColors();
|
|
70
70
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, LifecyclePhase.Eventually);
|
|
71
71
|
( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, LifecyclePhase.Eventually);
|
|
@@ -86,9 +86,9 @@ registerWorkbenchContribution2(
|
|
|
86
86
|
ctor: StartDebugQuickAccessProvider,
|
|
87
87
|
prefix: DEBUG_QUICK_ACCESS_PREFIX,
|
|
88
88
|
contextKey: "inLaunchConfigurationsPicker",
|
|
89
|
-
placeholder: ( localize(
|
|
89
|
+
placeholder: ( localize(8301, "Type the name of a launch configuration to run.")),
|
|
90
90
|
helpEntries: [{
|
|
91
|
-
description: ( localize(
|
|
91
|
+
description: ( localize(8302, "Start Debugging")),
|
|
92
92
|
commandId: SELECT_AND_START_ID,
|
|
93
93
|
commandCenterOrder: 50
|
|
94
94
|
}]
|
|
@@ -97,9 +97,9 @@ registerWorkbenchContribution2(
|
|
|
97
97
|
ctor: DebugConsoleQuickAccess,
|
|
98
98
|
prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
|
|
99
99
|
contextKey: "inDebugConsolePicker",
|
|
100
|
-
placeholder: ( localize(
|
|
100
|
+
placeholder: ( localize(8303, "Type the name of a debug console to open.")),
|
|
101
101
|
helpEntries: [{
|
|
102
|
-
description: ( localize(
|
|
102
|
+
description: ( localize(8304, "Show All Debug Consoles")),
|
|
103
103
|
commandId: SELECT_DEBUG_CONSOLE_ID
|
|
104
104
|
}]
|
|
105
105
|
});
|
|
@@ -131,7 +131,7 @@ const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
|
|
|
131
131
|
});
|
|
132
132
|
};
|
|
133
133
|
registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
|
|
134
|
-
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(
|
|
134
|
+
registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2(8305, "Terminate Thread")), CONTEXT_IN_DEBUG_MODE, CONTEXT_TERMINATE_THREADS_SUPPORTED);
|
|
135
135
|
registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
136
136
|
registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
137
137
|
registerDebugCommandPaletteItem(
|
|
@@ -151,8 +151,8 @@ registerDebugCommandPaletteItem(
|
|
|
151
151
|
);
|
|
152
152
|
registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
|
|
153
153
|
registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo("stopped")));
|
|
154
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
155
|
-
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(
|
|
154
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(8306, "Jump to Cursor")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
155
|
+
registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2(8307, "Set Next Statement")), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
|
|
156
156
|
registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
|
|
157
157
|
registerDebugCommandPaletteItem(
|
|
158
158
|
SelectionToReplAction.ID,
|
|
@@ -163,7 +163,7 @@ registerDebugCommandPaletteItem(
|
|
|
163
163
|
SelectionToWatchExpressionsAction.ID,
|
|
164
164
|
SelectionToWatchExpressionsAction.LABEL
|
|
165
165
|
);
|
|
166
|
-
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(
|
|
166
|
+
registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2(8308, "Inline Breakpoint")));
|
|
167
167
|
registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
168
168
|
registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
169
169
|
registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(State.Initializing))))));
|
|
@@ -270,11 +270,11 @@ registerDebugViewMenuItem(
|
|
|
270
270
|
( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("thread")),
|
|
271
271
|
( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
272
272
|
);
|
|
273
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(
|
|
274
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(
|
|
275
|
-
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(
|
|
276
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(
|
|
277
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(
|
|
273
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localize(8305, "Terminate Thread")), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("thread")), CONTEXT_TERMINATE_THREADS_SUPPORTED, "termination");
|
|
274
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localize(8309, "Restart Frame")), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("stackFrame")), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
|
|
275
|
+
registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localize(8310, "Copy Call Stack")), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo("stackFrame")), undefined, "3_modification");
|
|
276
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localize(8311, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, "inline", debugInspectMemory);
|
|
277
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localize(8312, "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");
|
|
278
278
|
registerDebugViewMenuItem(
|
|
279
279
|
MenuId.DebugVariablesContext,
|
|
280
280
|
COPY_VALUE_ID,
|
|
@@ -302,18 +302,18 @@ registerDebugViewMenuItem(
|
|
|
302
302
|
undefined,
|
|
303
303
|
"z_commands"
|
|
304
304
|
);
|
|
305
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
306
|
-
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
305
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(8313, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
306
|
+
registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(8314, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
307
307
|
registerDebugViewMenuItem(
|
|
308
308
|
MenuId.DebugVariablesContext,
|
|
309
309
|
BREAK_WHEN_VALUE_IS_ACCESSED_ID,
|
|
310
|
-
( localize(
|
|
310
|
+
( localize(8315, "Break on Value Access")),
|
|
311
311
|
220,
|
|
312
312
|
CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED,
|
|
313
313
|
undefined,
|
|
314
314
|
"z_commands"
|
|
315
315
|
);
|
|
316
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(
|
|
316
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localize(8311, "View Binary Data")), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, "inline", debugInspectMemory);
|
|
317
317
|
registerDebugViewMenuItem(
|
|
318
318
|
MenuId.DebugHoverContext,
|
|
319
319
|
COPY_VALUE_ID,
|
|
@@ -341,9 +341,9 @@ registerDebugViewMenuItem(
|
|
|
341
341
|
undefined,
|
|
342
342
|
"z_commands"
|
|
343
343
|
);
|
|
344
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
345
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
346
|
-
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
344
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(8313, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
345
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(8314, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
346
|
+
registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(8315, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, "z_commands");
|
|
347
347
|
registerDebugViewMenuItem(
|
|
348
348
|
MenuId.DebugWatchContext,
|
|
349
349
|
ADD_WATCH_ID,
|
|
@@ -353,9 +353,9 @@ registerDebugViewMenuItem(
|
|
|
353
353
|
undefined,
|
|
354
354
|
"3_modification"
|
|
355
355
|
);
|
|
356
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(
|
|
357
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(
|
|
358
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(
|
|
356
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localize(8316, "Edit Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), undefined, "3_modification");
|
|
357
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localize(8312, "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");
|
|
358
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localize(8317, "Copy Value")), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("variable")))), CONTEXT_IN_DEBUG_MODE, "3_modification");
|
|
359
359
|
registerDebugViewMenuItem(
|
|
360
360
|
MenuId.DebugWatchContext,
|
|
361
361
|
COPY_EVALUATE_PATH_ID,
|
|
@@ -365,8 +365,8 @@ registerDebugViewMenuItem(
|
|
|
365
365
|
CONTEXT_IN_DEBUG_MODE,
|
|
366
366
|
"3_modification"
|
|
367
367
|
);
|
|
368
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(
|
|
369
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(
|
|
368
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localize(8311, "View Binary Data")), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, "inline", debugInspectMemory);
|
|
369
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localize(8318, "Remove Expression")), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo("expression")), undefined, "inline", watchExpressionRemove);
|
|
370
370
|
registerDebugViewMenuItem(
|
|
371
371
|
MenuId.DebugWatchContext,
|
|
372
372
|
REMOVE_WATCH_EXPRESSIONS_COMMAND_ID,
|
|
@@ -376,9 +376,9 @@ registerDebugViewMenuItem(
|
|
|
376
376
|
undefined,
|
|
377
377
|
"z_commands"
|
|
378
378
|
);
|
|
379
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(
|
|
380
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(
|
|
381
|
-
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(
|
|
379
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localize(8313, "Break on Value Read")), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, "z_commands");
|
|
380
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localize(8314, "Break on Value Change")), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, "z_commands");
|
|
381
|
+
registerDebugViewMenuItem(MenuId.DebugWatchContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localize(8315, "Break on Value Access")), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, "z_commands");
|
|
382
382
|
registerDebugViewMenuItem(
|
|
383
383
|
MenuId.NotebookVariablesContext,
|
|
384
384
|
COPY_NOTEBOOK_VARIABLE_VALUE_ID,
|
|
@@ -428,7 +428,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
428
428
|
isSplitButton: {
|
|
429
429
|
togglePrimaryAction: true
|
|
430
430
|
},
|
|
431
|
-
title: ( localize2(
|
|
431
|
+
title: ( localize2(8319, "Run or Debug...")),
|
|
432
432
|
icon: debugRun,
|
|
433
433
|
group: "navigation",
|
|
434
434
|
order: -1
|
|
@@ -436,16 +436,17 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
436
436
|
MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
|
|
437
437
|
submenu: MenuId.MenubarDebugMenu,
|
|
438
438
|
title: {
|
|
439
|
-
...( localize2(
|
|
440
|
-
mnemonicTitle: ( localize(
|
|
439
|
+
...( localize2(8320, "Run")),
|
|
440
|
+
mnemonicTitle: ( localize(8321, "&&Run"))
|
|
441
441
|
},
|
|
442
|
-
order: 6
|
|
442
|
+
order: 6,
|
|
443
|
+
when: ( IsSessionsWindowContext.negate())
|
|
443
444
|
});
|
|
444
445
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
445
446
|
group: "1_debug",
|
|
446
447
|
command: {
|
|
447
448
|
id: DEBUG_START_COMMAND_ID,
|
|
448
|
-
title: ( localize(
|
|
449
|
+
title: ( localize(8322, "&&Start Debugging"))
|
|
449
450
|
},
|
|
450
451
|
order: 1,
|
|
451
452
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -454,7 +455,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
454
455
|
group: "1_debug",
|
|
455
456
|
command: {
|
|
456
457
|
id: DEBUG_RUN_COMMAND_ID,
|
|
457
|
-
title: ( localize(
|
|
458
|
+
title: ( localize(8323, "Run &&Without Debugging"))
|
|
458
459
|
},
|
|
459
460
|
order: 2,
|
|
460
461
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -463,7 +464,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
463
464
|
group: "1_debug",
|
|
464
465
|
command: {
|
|
465
466
|
id: STOP_ID,
|
|
466
|
-
title: ( localize(
|
|
467
|
+
title: ( localize(8324, "&&Stop Debugging")),
|
|
467
468
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
468
469
|
},
|
|
469
470
|
order: 3,
|
|
@@ -473,7 +474,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
473
474
|
group: "1_debug",
|
|
474
475
|
command: {
|
|
475
476
|
id: RESTART_SESSION_ID,
|
|
476
|
-
title: ( localize(
|
|
477
|
+
title: ( localize(8325, "&&Restart Debugging")),
|
|
477
478
|
precondition: CONTEXT_IN_DEBUG_MODE
|
|
478
479
|
},
|
|
479
480
|
order: 4,
|
|
@@ -483,7 +484,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
483
484
|
group: "2_configuration",
|
|
484
485
|
command: {
|
|
485
486
|
id: ADD_CONFIGURATION_ID,
|
|
486
|
-
title: ( localize(
|
|
487
|
+
title: ( localize(8326, "A&&dd Configuration..."))
|
|
487
488
|
},
|
|
488
489
|
order: 2,
|
|
489
490
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -492,7 +493,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
492
493
|
group: "3_step",
|
|
493
494
|
command: {
|
|
494
495
|
id: STEP_OVER_ID,
|
|
495
|
-
title: ( localize(
|
|
496
|
+
title: ( localize(8327, "Step &&Over")),
|
|
496
497
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
497
498
|
},
|
|
498
499
|
order: 1,
|
|
@@ -502,7 +503,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
502
503
|
group: "3_step",
|
|
503
504
|
command: {
|
|
504
505
|
id: STEP_INTO_ID,
|
|
505
|
-
title: ( localize(
|
|
506
|
+
title: ( localize(8328, "Step &&Into")),
|
|
506
507
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
507
508
|
},
|
|
508
509
|
order: 2,
|
|
@@ -512,7 +513,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
512
513
|
group: "3_step",
|
|
513
514
|
command: {
|
|
514
515
|
id: STEP_OUT_ID,
|
|
515
|
-
title: ( localize(
|
|
516
|
+
title: ( localize(8329, "Step O&&ut")),
|
|
516
517
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
517
518
|
},
|
|
518
519
|
order: 3,
|
|
@@ -522,7 +523,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
522
523
|
group: "3_step",
|
|
523
524
|
command: {
|
|
524
525
|
id: CONTINUE_ID,
|
|
525
|
-
title: ( localize(
|
|
526
|
+
title: ( localize(8330, "&&Continue")),
|
|
526
527
|
precondition: ( CONTEXT_DEBUG_STATE.isEqualTo("stopped"))
|
|
527
528
|
},
|
|
528
529
|
order: 4,
|
|
@@ -532,14 +533,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
|
|
|
532
533
|
group: "1_breakpoints",
|
|
533
534
|
command: {
|
|
534
535
|
id: TOGGLE_INLINE_BREAKPOINT_ID,
|
|
535
|
-
title: ( localize(
|
|
536
|
+
title: ( localize(8331, "Inline Breakp&&oint"))
|
|
536
537
|
},
|
|
537
538
|
order: 2,
|
|
538
539
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
539
540
|
});
|
|
540
541
|
MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
541
542
|
group: "4_new_breakpoint",
|
|
542
|
-
title: ( localize(
|
|
543
|
+
title: ( localize(8332, "&&New Breakpoint")),
|
|
543
544
|
submenu: MenuId.MenubarNewBreakpointMenu,
|
|
544
545
|
order: 2,
|
|
545
546
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -557,7 +558,7 @@ MenuRegistry.appendMenuItem(MenuId.DebugDisassemblyContext, {
|
|
|
557
558
|
group: "3_breakpoints",
|
|
558
559
|
command: {
|
|
559
560
|
id: TOGGLE_BREAKPOINT_ID,
|
|
560
|
-
title: ( localize(
|
|
561
|
+
title: ( localize(8333, "Toggle Breakpoint"))
|
|
561
562
|
},
|
|
562
563
|
order: 2,
|
|
563
564
|
when: CONTEXT_DEBUGGERS_AVAILABLE
|
|
@@ -566,13 +567,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
|
|
|
566
567
|
group: "z_install",
|
|
567
568
|
command: {
|
|
568
569
|
id: "debug.installAdditionalDebuggers",
|
|
569
|
-
title: ( localize(
|
|
570
|
+
title: ( localize(8334, "&&Install Additional Debuggers..."))
|
|
570
571
|
},
|
|
571
572
|
order: 1
|
|
572
573
|
});
|
|
573
574
|
const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
574
575
|
id: DEBUG_PANEL_ID,
|
|
575
|
-
title: ( localize2(
|
|
576
|
+
title: ( localize2(8335, "Debug Console")),
|
|
576
577
|
icon: debugConsoleViewIcon,
|
|
577
578
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [DEBUG_PANEL_ID, {
|
|
578
579
|
mergeViewWithContainerWhenSingleView: true
|
|
@@ -585,7 +586,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
585
586
|
});
|
|
586
587
|
( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
|
|
587
588
|
id: REPL_VIEW_ID,
|
|
588
|
-
name: ( localize2(
|
|
589
|
+
name: ( localize2(8335, "Debug Console")),
|
|
589
590
|
containerIcon: debugConsoleViewIcon,
|
|
590
591
|
canToggleVisibility: true,
|
|
591
592
|
canMoveView: true,
|
|
@@ -593,7 +594,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
593
594
|
ctorDescriptor: ( new SyncDescriptor(Repl)),
|
|
594
595
|
openCommandActionDescriptor: {
|
|
595
596
|
id: "workbench.debug.action.toggleRepl",
|
|
596
|
-
mnemonicTitle: ( localize(
|
|
597
|
+
mnemonicTitle: ( localize(8336, "De&&bug Console")),
|
|
597
598
|
keybindings: {
|
|
598
599
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyY
|
|
599
600
|
},
|
|
@@ -602,10 +603,10 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).regis
|
|
|
602
603
|
}], VIEW_CONTAINER);
|
|
603
604
|
const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
|
|
604
605
|
id: VIEWLET_ID,
|
|
605
|
-
title: ( localize2(
|
|
606
|
+
title: ( localize2(8337, "Run and Debug")),
|
|
606
607
|
openCommandActionDescriptor: {
|
|
607
608
|
id: VIEWLET_ID,
|
|
608
|
-
mnemonicTitle: ( localize(
|
|
609
|
+
mnemonicTitle: ( localize(8338, "&&Run")),
|
|
609
610
|
keybindings: {
|
|
610
611
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyD
|
|
611
612
|
},
|
|
@@ -619,7 +620,7 @@ const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).regist
|
|
|
619
620
|
const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
|
|
620
621
|
viewsRegistry.registerViews([{
|
|
621
622
|
id: VARIABLES_VIEW_ID,
|
|
622
|
-
name: ( localize2(
|
|
623
|
+
name: ( localize2(8339, "Variables")),
|
|
623
624
|
containerIcon: variablesViewIcon,
|
|
624
625
|
ctorDescriptor: ( new SyncDescriptor(VariablesView)),
|
|
625
626
|
order: 10,
|
|
@@ -633,7 +634,7 @@ viewsRegistry.registerViews([{
|
|
|
633
634
|
}], viewContainer);
|
|
634
635
|
viewsRegistry.registerViews([{
|
|
635
636
|
id: WATCH_VIEW_ID,
|
|
636
|
-
name: ( localize2(
|
|
637
|
+
name: ( localize2(8340, "Watch")),
|
|
637
638
|
containerIcon: watchViewIcon,
|
|
638
639
|
ctorDescriptor: ( new SyncDescriptor(WatchExpressionsView)),
|
|
639
640
|
order: 20,
|
|
@@ -647,7 +648,7 @@ viewsRegistry.registerViews([{
|
|
|
647
648
|
}], viewContainer);
|
|
648
649
|
viewsRegistry.registerViews([{
|
|
649
650
|
id: CALLSTACK_VIEW_ID,
|
|
650
|
-
name: ( localize2(
|
|
651
|
+
name: ( localize2(8341, "Call Stack")),
|
|
651
652
|
containerIcon: callStackViewIcon,
|
|
652
653
|
ctorDescriptor: ( new SyncDescriptor(CallStackView)),
|
|
653
654
|
order: 30,
|
|
@@ -661,7 +662,7 @@ viewsRegistry.registerViews([{
|
|
|
661
662
|
}], viewContainer);
|
|
662
663
|
viewsRegistry.registerViews([{
|
|
663
664
|
id: BREAKPOINTS_VIEW_ID,
|
|
664
|
-
name: ( localize2(
|
|
665
|
+
name: ( localize2(8342, "Breakpoints")),
|
|
665
666
|
containerIcon: breakpointsViewIcon,
|
|
666
667
|
ctorDescriptor: ( new SyncDescriptor(BreakpointsView)),
|
|
667
668
|
order: 40,
|
|
@@ -685,7 +686,7 @@ viewsRegistry.registerViews([{
|
|
|
685
686
|
}], viewContainer);
|
|
686
687
|
viewsRegistry.registerViews([{
|
|
687
688
|
id: LOADED_SCRIPTS_VIEW_ID,
|
|
688
|
-
name: ( localize2(
|
|
689
|
+
name: ( localize2(8343, "Loaded Scripts")),
|
|
689
690
|
containerIcon: loadedScriptsViewIcon,
|
|
690
691
|
ctorDescriptor: ( new SyncDescriptor(LoadedScriptsView)),
|
|
691
692
|
order: 35,
|
|
@@ -696,40 +697,40 @@ viewsRegistry.registerViews([{
|
|
|
696
697
|
when: ( ContextKeyExpr.and(CONTEXT_LOADED_SCRIPTS_SUPPORTED, ( CONTEXT_DEBUG_UX.isEqualTo("default"))))
|
|
697
698
|
}], viewContainer);
|
|
698
699
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
699
|
-
EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(
|
|
700
|
+
EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localize(8344, "Disassembly"))),
|
|
700
701
|
[( new SyncDescriptor(DisassemblyViewInput))]
|
|
701
702
|
);
|
|
702
703
|
const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
|
|
703
704
|
configurationRegistry.registerConfiguration({
|
|
704
705
|
id: "debug",
|
|
705
706
|
order: 20,
|
|
706
|
-
title: ( localize(
|
|
707
|
+
title: ( localize(8345, "Debug")),
|
|
707
708
|
type: "object",
|
|
708
709
|
properties: {
|
|
709
710
|
"debug.showVariableTypes": {
|
|
710
711
|
type: "boolean",
|
|
711
|
-
description: ( localize(
|
|
712
|
+
description: ( localize(8346, "Show variable type in variable pane during debug session")),
|
|
712
713
|
default: false
|
|
713
714
|
},
|
|
714
715
|
"debug.allowBreakpointsEverywhere": {
|
|
715
716
|
type: "boolean",
|
|
716
|
-
description: ( localize(
|
|
717
|
+
description: ( localize(8347, "Allow setting breakpoints in any file.")),
|
|
717
718
|
default: false
|
|
718
719
|
},
|
|
719
720
|
"debug.gutterMiddleClickAction": {
|
|
720
721
|
type: "string",
|
|
721
722
|
enum: ["logpoint", "conditionalBreakpoint", "triggeredBreakpoint", "none"],
|
|
722
723
|
description: ( localize(
|
|
723
|
-
|
|
724
|
+
8348,
|
|
724
725
|
"Controls the action to perform when clicking the editor gutter with the middle mouse button."
|
|
725
726
|
)),
|
|
726
|
-
enumDescriptions: [( localize(
|
|
727
|
+
enumDescriptions: [( localize(8349, "Add Logpoint.")), ( localize(8350, "Add Conditional Breakpoint.")), ( localize(8351, "Add Triggered Breakpoint.")), ( localize(8352, "Don't perform any action."))],
|
|
727
728
|
default: "logpoint"
|
|
728
729
|
},
|
|
729
730
|
"debug.openExplorerOnEnd": {
|
|
730
731
|
type: "boolean",
|
|
731
732
|
description: ( localize(
|
|
732
|
-
|
|
733
|
+
8353,
|
|
733
734
|
"Automatically open the explorer view at the end of a debug session."
|
|
734
735
|
)),
|
|
735
736
|
default: false
|
|
@@ -737,7 +738,7 @@ configurationRegistry.registerConfiguration({
|
|
|
737
738
|
"debug.closeReadonlyTabsOnEnd": {
|
|
738
739
|
type: "boolean",
|
|
739
740
|
description: ( localize(
|
|
740
|
-
|
|
741
|
+
8354,
|
|
741
742
|
"At the end of a debug session, all the read-only tabs associated with that session will be closed"
|
|
742
743
|
)),
|
|
743
744
|
default: false
|
|
@@ -745,9 +746,9 @@ configurationRegistry.registerConfiguration({
|
|
|
745
746
|
"debug.inlineValues": {
|
|
746
747
|
type: "string",
|
|
747
748
|
"enum": ["on", "off", "auto"],
|
|
748
|
-
description: ( localize(
|
|
749
|
-
"enumDescriptions": [( localize(
|
|
750
|
-
|
|
749
|
+
description: ( localize(8355, "Show variable values inline in editor while debugging.")),
|
|
750
|
+
"enumDescriptions": [( localize(8356, "Always show variable values inline in editor while debugging.")), ( localize(8357, "Never show variable values inline in editor while debugging.")), ( localize(
|
|
751
|
+
8358,
|
|
751
752
|
"Show variable values inline in editor while debugging when the language supports inline value locations."
|
|
752
753
|
))],
|
|
753
754
|
default: "auto"
|
|
@@ -755,27 +756,27 @@ configurationRegistry.registerConfiguration({
|
|
|
755
756
|
"debug.toolBarLocation": {
|
|
756
757
|
enum: ["floating", "docked", "commandCenter", "hidden"],
|
|
757
758
|
markdownDescription: ( localize(
|
|
758
|
-
|
|
759
|
+
8359,
|
|
759
760
|
"Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires {0}), or `hidden`.",
|
|
760
761
|
"`#window.commandCenter#`"
|
|
761
762
|
)),
|
|
762
763
|
default: "floating",
|
|
763
|
-
markdownEnumDescriptions: [( localize(
|
|
764
|
+
markdownEnumDescriptions: [( localize(8360, "Show debug toolbar in all views.")), ( localize(8361, "Show debug toolbar only in debug views.")), ( localize(8362, "`(Experimental)` Show debug toolbar in the command center.")), ( localize(8363, "Do not show debug toolbar."))]
|
|
764
765
|
},
|
|
765
766
|
"debug.showInStatusBar": {
|
|
766
767
|
enum: ["never", "always", "onFirstSessionStart"],
|
|
767
|
-
enumDescriptions: [( localize(
|
|
768
|
-
|
|
768
|
+
enumDescriptions: [( localize(8364, "Never show debug item in status bar")), ( localize(8365, "Always show debug item in status bar")), ( localize(
|
|
769
|
+
8366,
|
|
769
770
|
"Show debug item in status bar only after debug was started for the first time"
|
|
770
771
|
))],
|
|
771
|
-
description: ( localize(
|
|
772
|
+
description: ( localize(8367, "Controls when the debug status bar item should be visible.")),
|
|
772
773
|
default: "onFirstSessionStart"
|
|
773
774
|
},
|
|
774
775
|
"debug.internalConsoleOptions": INTERNAL_CONSOLE_OPTIONS_SCHEMA,
|
|
775
776
|
"debug.console.closeOnEnd": {
|
|
776
777
|
type: "boolean",
|
|
777
778
|
description: ( localize(
|
|
778
|
-
|
|
779
|
+
8368,
|
|
779
780
|
"Controls if the Debug Console should be automatically closed when the debug session ends."
|
|
780
781
|
)),
|
|
781
782
|
default: false
|
|
@@ -783,7 +784,7 @@ configurationRegistry.registerConfiguration({
|
|
|
783
784
|
"debug.terminal.clearBeforeReusing": {
|
|
784
785
|
type: "boolean",
|
|
785
786
|
description: ( localize(
|
|
786
|
-
|
|
787
|
+
8369,
|
|
787
788
|
"Before starting a new debug session in an integrated or external terminal, clear the terminal."
|
|
788
789
|
)),
|
|
789
790
|
default: false
|
|
@@ -796,43 +797,43 @@ configurationRegistry.registerConfiguration({
|
|
|
796
797
|
"openOnDebugBreak"
|
|
797
798
|
],
|
|
798
799
|
default: "openOnDebugBreak",
|
|
799
|
-
description: ( localize(
|
|
800
|
+
description: ( localize(8370, "Controls when the debug view should open."))
|
|
800
801
|
},
|
|
801
802
|
"debug.showSubSessionsInToolBar": {
|
|
802
803
|
type: "boolean",
|
|
803
804
|
description: ( localize(
|
|
804
|
-
|
|
805
|
+
8371,
|
|
805
806
|
"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."
|
|
806
807
|
)),
|
|
807
808
|
default: false
|
|
808
809
|
},
|
|
809
810
|
"debug.console.fontSize": {
|
|
810
811
|
type: "number",
|
|
811
|
-
description: ( localize(
|
|
812
|
+
description: ( localize(8372, "Controls the font size in pixels in the Debug Console.")),
|
|
812
813
|
default: isMacintosh ? 12 : 14
|
|
813
814
|
},
|
|
814
815
|
"debug.console.fontFamily": {
|
|
815
816
|
type: "string",
|
|
816
|
-
description: ( localize(
|
|
817
|
+
description: ( localize(8373, "Controls the font family in the Debug Console.")),
|
|
817
818
|
default: "default"
|
|
818
819
|
},
|
|
819
820
|
"debug.console.lineHeight": {
|
|
820
821
|
type: "number",
|
|
821
822
|
description: ( localize(
|
|
822
|
-
|
|
823
|
+
8374,
|
|
823
824
|
"Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
|
|
824
825
|
)),
|
|
825
826
|
default: 0
|
|
826
827
|
},
|
|
827
828
|
"debug.console.wordWrap": {
|
|
828
829
|
type: "boolean",
|
|
829
|
-
description: ( localize(
|
|
830
|
+
description: ( localize(8375, "Controls if the lines should wrap in the Debug Console.")),
|
|
830
831
|
default: true
|
|
831
832
|
},
|
|
832
833
|
"debug.console.historySuggestions": {
|
|
833
834
|
type: "boolean",
|
|
834
835
|
description: ( localize(
|
|
835
|
-
|
|
836
|
+
8376,
|
|
836
837
|
"Controls if the Debug Console should suggest previously typed input."
|
|
837
838
|
)),
|
|
838
839
|
default: true
|
|
@@ -840,7 +841,7 @@ configurationRegistry.registerConfiguration({
|
|
|
840
841
|
"debug.console.collapseIdenticalLines": {
|
|
841
842
|
type: "boolean",
|
|
842
843
|
description: ( localize(
|
|
843
|
-
|
|
844
|
+
8377,
|
|
844
845
|
"Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
|
|
845
846
|
)),
|
|
846
847
|
default: true
|
|
@@ -848,20 +849,20 @@ configurationRegistry.registerConfiguration({
|
|
|
848
849
|
"debug.console.acceptSuggestionOnEnter": {
|
|
849
850
|
enum: ["off", "on"],
|
|
850
851
|
description: ( localize(
|
|
851
|
-
|
|
852
|
+
8378,
|
|
852
853
|
"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."
|
|
853
854
|
)),
|
|
854
855
|
default: "off"
|
|
855
856
|
},
|
|
856
857
|
"debug.console.maximumLines": {
|
|
857
858
|
type: "number",
|
|
858
|
-
description: ( localize(
|
|
859
|
+
description: ( localize(8379, "Controls the maximum number of lines in the Debug Console.")),
|
|
859
860
|
default: 10000
|
|
860
861
|
},
|
|
861
862
|
"launch": {
|
|
862
863
|
type: "object",
|
|
863
864
|
description: ( localize(
|
|
864
|
-
|
|
865
|
+
8380,
|
|
865
866
|
"Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
|
|
866
867
|
)),
|
|
867
868
|
default: {
|
|
@@ -874,7 +875,7 @@ configurationRegistry.registerConfiguration({
|
|
|
874
875
|
"debug.focusWindowOnBreak": {
|
|
875
876
|
type: "boolean",
|
|
876
877
|
description: ( localize(
|
|
877
|
-
|
|
878
|
+
8381,
|
|
878
879
|
"Controls whether the workbench window should be focused when the debugger breaks."
|
|
879
880
|
)),
|
|
880
881
|
default: true
|
|
@@ -882,16 +883,16 @@ configurationRegistry.registerConfiguration({
|
|
|
882
883
|
"debug.focusEditorOnBreak": {
|
|
883
884
|
type: "boolean",
|
|
884
885
|
description: ( localize(
|
|
885
|
-
|
|
886
|
+
8382,
|
|
886
887
|
"Controls whether the editor should be focused when the debugger breaks."
|
|
887
888
|
)),
|
|
888
889
|
default: true
|
|
889
890
|
},
|
|
890
891
|
"debug.onTaskErrors": {
|
|
891
892
|
enum: ["debugAnyway", "showErrors", "prompt", "abort"],
|
|
892
|
-
enumDescriptions: [( localize(
|
|
893
|
+
enumDescriptions: [( localize(8383, "Ignore task errors and start debugging.")), ( localize(8384, "Show the Problems view and do not start debugging.")), ( localize(8385, "Prompt user.")), ( localize(8386, "Cancel debugging."))],
|
|
893
894
|
description: ( localize(
|
|
894
|
-
|
|
895
|
+
8387,
|
|
895
896
|
"Controls what to do when errors are encountered after running a preLaunchTask."
|
|
896
897
|
)),
|
|
897
898
|
default: "prompt"
|
|
@@ -899,7 +900,7 @@ configurationRegistry.registerConfiguration({
|
|
|
899
900
|
"debug.showBreakpointsInOverviewRuler": {
|
|
900
901
|
type: "boolean",
|
|
901
902
|
description: ( localize(
|
|
902
|
-
|
|
903
|
+
8388,
|
|
903
904
|
"Controls whether breakpoints should be shown in the overview ruler."
|
|
904
905
|
)),
|
|
905
906
|
default: false
|
|
@@ -907,7 +908,7 @@ configurationRegistry.registerConfiguration({
|
|
|
907
908
|
"debug.breakpointsView.presentation": {
|
|
908
909
|
type: "string",
|
|
909
910
|
description: ( localize(
|
|
910
|
-
|
|
911
|
+
8389,
|
|
911
912
|
"Controls whether breakpoints are displayed in a tree view grouped by file, or as a flat list."
|
|
912
913
|
)),
|
|
913
914
|
enum: ["tree", "list"],
|
|
@@ -916,61 +917,61 @@ configurationRegistry.registerConfiguration({
|
|
|
916
917
|
"debug.showInlineBreakpointCandidates": {
|
|
917
918
|
type: "boolean",
|
|
918
919
|
description: ( localize(
|
|
919
|
-
|
|
920
|
+
8390,
|
|
920
921
|
"Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
|
|
921
922
|
)),
|
|
922
923
|
default: true
|
|
923
924
|
},
|
|
924
925
|
"debug.saveBeforeStart": {
|
|
925
|
-
description: ( localize(
|
|
926
|
+
description: ( localize(8391, "Controls what editors to save before starting a debug session.")),
|
|
926
927
|
enum: ["allEditorsInActiveGroup", "nonUntitledEditorsInActiveGroup", "none"],
|
|
927
928
|
enumDescriptions: [( localize(
|
|
928
|
-
|
|
929
|
+
8392,
|
|
929
930
|
"Save all editors in the active group before starting a debug session."
|
|
930
931
|
)), ( localize(
|
|
931
|
-
|
|
932
|
+
8393,
|
|
932
933
|
"Save all editors in the active group except untitled ones before starting a debug session."
|
|
933
|
-
)), ( localize(
|
|
934
|
+
)), ( localize(8394, "Don't save any editors before starting a debug session."))],
|
|
934
935
|
default: "allEditorsInActiveGroup",
|
|
935
936
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE
|
|
936
937
|
},
|
|
937
938
|
"debug.confirmOnExit": {
|
|
938
939
|
description: ( localize(
|
|
939
|
-
|
|
940
|
+
8395,
|
|
940
941
|
"Controls whether to confirm when the window closes if there are active debug sessions."
|
|
941
942
|
)),
|
|
942
943
|
type: "string",
|
|
943
944
|
enum: ["never", "always"],
|
|
944
|
-
enumDescriptions: [( localize(
|
|
945
|
+
enumDescriptions: [( localize(8396, "Never confirm.")), ( localize(8397, "Always confirm if there are debug sessions."))],
|
|
945
946
|
default: "never"
|
|
946
947
|
},
|
|
947
948
|
"debug.disassemblyView.showSourceCode": {
|
|
948
949
|
type: "boolean",
|
|
949
950
|
default: true,
|
|
950
|
-
description: ( localize(
|
|
951
|
+
description: ( localize(8398, "Show Source Code in Disassembly View."))
|
|
951
952
|
},
|
|
952
953
|
"debug.autoExpandLazyVariables": {
|
|
953
954
|
type: "string",
|
|
954
955
|
enum: ["auto", "on", "off"],
|
|
955
956
|
default: "auto",
|
|
956
957
|
enumDescriptions: [( localize(
|
|
957
|
-
|
|
958
|
+
8399,
|
|
958
959
|
"When in screen reader optimized mode, automatically expand lazy variables."
|
|
959
|
-
)), ( localize(
|
|
960
|
+
)), ( localize(8400, "Always automatically expand lazy variables.")), ( localize(8401, "Never automatically expand lazy variables."))],
|
|
960
961
|
description: ( localize(
|
|
961
|
-
|
|
962
|
+
8402,
|
|
962
963
|
"Controls whether variables that are lazily resolved, such as getters, are automatically resolved and expanded by the debugger."
|
|
963
964
|
))
|
|
964
965
|
},
|
|
965
966
|
"debug.enableStatusBarColor": {
|
|
966
967
|
type: "boolean",
|
|
967
|
-
description: ( localize(
|
|
968
|
+
description: ( localize(8403, "Color of the status bar when the debugger is active.")),
|
|
968
969
|
default: true
|
|
969
970
|
},
|
|
970
971
|
"debug.hideLauncherWhileDebugging": {
|
|
971
972
|
type: "boolean",
|
|
972
973
|
markdownDescription: ( localize(
|
|
973
|
-
|
|
974
|
+
8404,
|
|
974
975
|
"Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when {0} is not `docked`.",
|
|
975
976
|
"`#debug.toolBarLocation#`"
|
|
976
977
|
)),
|
|
@@ -979,7 +980,7 @@ configurationRegistry.registerConfiguration({
|
|
|
979
980
|
"debug.hideSlowPreLaunchWarning": {
|
|
980
981
|
type: "boolean",
|
|
981
982
|
markdownDescription: ( localize(
|
|
982
|
-
|
|
983
|
+
8405,
|
|
983
984
|
"Hide the warning shown when a `preLaunchTask` has been running for a while."
|
|
984
985
|
)),
|
|
985
986
|
default: false
|