@codingame/monaco-vscode-debug-service-override 3.2.3 → 4.1.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.
Files changed (60) hide show
  1. package/debug.js +4 -4
  2. package/package.json +2 -2
  3. package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
  4. package/external/tslib/tslib.es6.js +0 -11
  5. package/override/vs/platform/dialogs/common/dialogs.js +0 -8
  6. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +0 -73
  7. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +0 -1011
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +0 -970
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +0 -347
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +0 -324
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +0 -432
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1039
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +0 -649
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +0 -64
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +0 -636
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +0 -725
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +0 -398
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +0 -206
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugProgress.js +0 -80
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +0 -169
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +0 -1271
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +0 -1305
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -115
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +0 -77
  25. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +0 -307
  26. package/vscode/src/vs/workbench/contrib/debug/browser/debugTitle.js +0 -31
  27. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +0 -378
  28. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +0 -267
  29. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +0 -808
  30. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +0 -121
  31. package/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.js +0 -141
  32. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +0 -262
  33. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +0 -669
  34. package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +0 -6
  35. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugHover.css.js +0 -6
  36. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugToolBar.css.js +0 -6
  37. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +0 -6
  38. package/vscode/src/vs/workbench/contrib/debug/browser/media/exceptionWidget.css.js +0 -6
  39. package/vscode/src/vs/workbench/contrib/debug/browser/media/repl.css.js +0 -6
  40. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +0 -709
  41. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +0 -992
  42. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +0 -48
  43. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +0 -348
  44. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +0 -119
  45. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +0 -763
  46. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +0 -501
  47. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +0 -162
  48. package/vscode/src/vs/workbench/contrib/debug/common/breakpoints.js +0 -21
  49. package/vscode/src/vs/workbench/contrib/debug/common/debugCompoundRoot.js +0 -17
  50. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +0 -110
  51. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +0 -62
  52. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +0 -460
  53. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +0 -162
  54. package/vscode/src/vs/workbench/contrib/debug/common/debugTelemetry.js +0 -36
  55. package/vscode/src/vs/workbench/contrib/debug/common/debugViewModel.js +0 -148
  56. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +0 -289
  57. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -87
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +0 -64
  59. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +0 -311
  60. package/vscode/src/vs/workbench/services/configurationResolver/browser/configurationResolverService.js +0 -28
@@ -1,970 +0,0 @@
1
- import { FileAccess } from 'vscode/vscode/vs/base/common/network';
2
- import { isWeb, isMacintosh } from 'vscode/vscode/vs/base/common/platform';
3
- import './media/debug.contribution.css.js';
4
- import './media/debugHover.css.js';
5
- import { registerEditorContribution } from 'vscode/vscode/vs/editor/browser/editorExtensions';
6
- import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
7
- import { MenuId, MenuRegistry } from 'vscode/vscode/vs/platform/actions/common/actions';
8
- import { Extensions as Extensions$3 } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
9
- import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
10
- import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
11
- import { Extensions as Extensions$1 } from 'vscode/vscode/vs/platform/quickinput/common/quickAccess';
12
- import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
13
- import { EditorPaneDescriptor } from 'vscode/vscode/vs/workbench/browser/editor';
14
- import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
15
- import { Extensions } from 'vscode/vscode/vs/workbench/common/contributions';
16
- import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
17
- import { Extensions as Extensions$2 } from 'vscode/vscode/vs/workbench/common/views';
18
- import { BreakpointEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointEditorContribution';
19
- import { BreakpointsView } from 'vscode/vscode/vs/workbench/contrib/debug/browser/breakpointsView';
20
- import { CallStackEditorContribution } from 'vscode/vscode/vs/workbench/contrib/debug/browser/callStackEditorContribution';
21
- import { CallStackView } from './callStackView.js';
22
- import { registerColors } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugColors';
23
- import { DEBUG_QUICK_ACCESS_PREFIX, SELECT_AND_START_ID, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, SELECT_DEBUG_CONSOLE_ID, TERMINATE_THREAD_ID, STEP_OVER_LABEL, STEP_OVER_ID, STEP_INTO_LABEL, STEP_INTO_ID, STEP_INTO_TARGET_LABEL, STEP_INTO_TARGET_ID, STEP_OUT_LABEL, STEP_OUT_ID, PAUSE_LABEL, PAUSE_ID, DISCONNECT_LABEL, DISCONNECT_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_AND_SUSPEND_ID, STOP_LABEL, STOP_ID, CONTINUE_LABEL, CONTINUE_ID, FOCUS_REPL_ID, JUMP_TO_CURSOR_ID, TOGGLE_INLINE_BREAKPOINT_ID, DEBUG_START_LABEL, DEBUG_START_COMMAND_ID, DEBUG_RUN_LABEL, DEBUG_RUN_COMMAND_ID, SELECT_AND_START_LABEL, CALLSTACK_TOP_LABEL, CALLSTACK_TOP_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_BOTTOM_ID, CALLSTACK_UP_LABEL, CALLSTACK_UP_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_DOWN_ID, RESTART_LABEL, RESTART_SESSION_ID, RESTART_FRAME_ID, COPY_STACK_TRACE_ID, EDIT_EXPRESSION_COMMAND_ID, SET_EXPRESSION_COMMAND_ID, REMOVE_EXPRESSION_COMMAND_ID, ADD_CONFIGURATION_ID, DEBUG_COMMAND_CATEGORY, NEXT_DEBUG_CONSOLE_LABEL, NEXT_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, PREV_DEBUG_CONSOLE_ID, OPEN_LOADED_SCRIPTS_LABEL, SHOW_LOADED_SCRIPTS_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_LABEL, SELECT_DEBUG_SESSION_ID } from './debugCommands.js';
24
- import { DebugConsoleQuickAccess } from './debugConsoleQuickAccess.js';
25
- import { RunToCursorAction, SelectionToReplAction, SelectionToWatchExpressionsAction } from './debugEditorActions.js';
26
- import { DebugEditorContribution } from './debugEditorContribution.js';
27
- import { debugRun, debugConsoleViewIcon, runViewIcon, variablesViewIcon, watchViewIcon, callStackViewIcon, breakpointsViewIcon, loadedScriptsViewIcon, debugInspectMemory, watchExpressionRemove } from 'vscode/vscode/vs/workbench/contrib/debug/browser/debugIcons';
28
- import { DebugProgressContribution } from './debugProgress.js';
29
- import { StartDebugQuickAccessProvider } from './debugQuickAccess.js';
30
- import { DebugStatusContribution } from './debugStatus.js';
31
- import { DebugTitleContribution } from './debugTitle.js';
32
- import { DebugToolBar } from './debugToolBar.js';
33
- import { DebugViewPaneContainer } from './debugViewlet.js';
34
- import { DisassemblyViewContribution, DisassemblyView } from './disassemblyView.js';
35
- import { LoadedScriptsView } from './loadedScriptsView.js';
36
- import { Repl } from './repl.js';
37
- import { StatusBarColorProvider } from './statusbarColorProvider.js';
38
- import { VIEW_MEMORY_ID, SET_VARIABLE_ID, COPY_VALUE_ID, COPY_EVALUATE_PATH_ID, ADD_TO_WATCH_ID, BREAK_WHEN_VALUE_IS_READ_ID, BREAK_WHEN_VALUE_CHANGES_ID, BREAK_WHEN_VALUE_IS_ACCESSED_ID, VariablesView } from './variablesView.js';
39
- import { WatchExpressionsView, ADD_WATCH_LABEL, ADD_WATCH_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID } from './watchExpressionsView.js';
40
- import { WelcomeView } from './welcomeView.js';
41
- import { BREAKPOINT_EDITOR_CONTRIBUTION_ID, EDITOR_CONTRIBUTION_ID, CONTEXT_DEBUG_STATE, CONTEXT_IN_DEBUG_MODE, CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG, CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED, CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_DEBUGGERS_AVAILABLE, getStateLabel, CONTEXT_CALLSTACK_ITEM_TYPE, CONTEXT_RESTART_FRAME_SUPPORTED, CONTEXT_VARIABLE_IS_READONLY, CONTEXT_SET_VARIABLE_SUPPORTED, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, CONTEXT_SET_EXPRESSION_SUPPORTED, CONTEXT_WATCH_ITEM_TYPE, DEBUG_PANEL_ID, REPL_VIEW_ID, VIEWLET_ID, VARIABLES_VIEW_ID, CONTEXT_DEBUG_UX, WATCH_VIEW_ID, CALLSTACK_VIEW_ID, BREAKPOINTS_VIEW_ID, CONTEXT_BREAKPOINTS_EXIST, CONTEXT_HAS_DEBUGGED, LOADED_SCRIPTS_VIEW_ID, CONTEXT_LOADED_SCRIPTS_SUPPORTED, DISASSEMBLY_VIEW_ID, INTERNAL_CONSOLE_OPTIONS_SCHEMA, CONTEXT_JUMP_TO_CURSOR_SUPPORTED, CONTEXT_STACK_FRAME_SUPPORTS_RESTART, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, CONTEXT_VARIABLE_VALUE } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
42
- import { DebugContentProvider } from '../common/debugContentProvider.js';
43
- import { DebugLifecycle } from '../common/debugLifecycle.js';
44
- import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
45
- import { COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, COPY_NOTEBOOK_VARIABLE_VALUE_ID } from '../../notebook/browser/contrib/notebookVariables/notebookVariableCommands.js';
46
- import { launchSchemaId } from 'vscode/vscode/vs/workbench/services/configuration/common/configuration';
47
-
48
- const debugCategory = ( localizeWithPath(
49
- 'vs/workbench/contrib/debug/browser/debug.contribution',
50
- 'debugCategory',
51
- "Debug"
52
- ));
53
- registerColors();
54
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugStatusContribution, 4 );
55
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugProgressContribution, 4 );
56
- if (isWeb) {
57
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugTitleContribution, 4 );
58
- }
59
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugToolBar, 3 );
60
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugContentProvider, 4 );
61
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(StatusBarColorProvider, 4 );
62
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DisassemblyViewContribution, 4 );
63
- ( Registry.as(Extensions.Workbench)).registerWorkbenchContribution(DebugLifecycle, 4 );
64
- ( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
65
- ctor: StartDebugQuickAccessProvider,
66
- prefix: DEBUG_QUICK_ACCESS_PREFIX,
67
- contextKey: 'inLaunchConfigurationsPicker',
68
- placeholder: ( localizeWithPath(
69
- 'vs/workbench/contrib/debug/browser/debug.contribution',
70
- 'startDebugPlaceholder',
71
- "Type the name of a launch configuration to run."
72
- )),
73
- helpEntries: [{
74
- description: ( localizeWithPath(
75
- 'vs/workbench/contrib/debug/browser/debug.contribution',
76
- 'startDebuggingHelp',
77
- "Start Debugging"
78
- )),
79
- commandId: SELECT_AND_START_ID,
80
- commandCenterOrder: 50
81
- }]
82
- });
83
- ( Registry.as(Extensions$1.Quickaccess)).registerQuickAccessProvider({
84
- ctor: DebugConsoleQuickAccess,
85
- prefix: DEBUG_CONSOLE_QUICK_ACCESS_PREFIX,
86
- contextKey: 'inDebugConsolePicker',
87
- placeholder: ( localizeWithPath(
88
- 'vs/workbench/contrib/debug/browser/debug.contribution',
89
- 'tasksQuickAccessPlaceholder',
90
- "Type the name of a debug console to open."
91
- )),
92
- helpEntries: [{ description: ( localizeWithPath(
93
- 'vs/workbench/contrib/debug/browser/debug.contribution',
94
- 'tasksQuickAccessHelp',
95
- "Show All Debug Consoles"
96
- )), commandId: SELECT_DEBUG_CONSOLE_ID }]
97
- });
98
- registerEditorContribution('editor.contrib.callStack', CallStackEditorContribution, 1 );
99
- registerEditorContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID, BreakpointEditorContribution, 1 );
100
- registerEditorContribution(EDITOR_CONTRIBUTION_ID, DebugEditorContribution, 2 );
101
- const registerDebugCommandPaletteItem = (id, title, when, precondition) => {
102
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
103
- when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when)),
104
- group: debugCategory,
105
- command: {
106
- id,
107
- title,
108
- category: DEBUG_COMMAND_CATEGORY,
109
- precondition
110
- }
111
- });
112
- };
113
- registerDebugCommandPaletteItem(RESTART_SESSION_ID, RESTART_LABEL);
114
- registerDebugCommandPaletteItem(TERMINATE_THREAD_ID, ( localize2WithPath(
115
- 'vs/workbench/contrib/debug/browser/debug.contribution',
116
- 'terminateThread',
117
- "Terminate Thread"
118
- )), CONTEXT_IN_DEBUG_MODE);
119
- registerDebugCommandPaletteItem(STEP_OVER_ID, STEP_OVER_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
120
- registerDebugCommandPaletteItem(STEP_INTO_ID, STEP_INTO_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
121
- 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')))));
122
- registerDebugCommandPaletteItem(STEP_OUT_ID, STEP_OUT_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
123
- registerDebugCommandPaletteItem(PAUSE_ID, PAUSE_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))));
124
- registerDebugCommandPaletteItem(DISCONNECT_ID, DISCONNECT_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(CONTEXT_FOCUSED_SESSION_IS_ATTACH, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
125
- 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)))));
126
- registerDebugCommandPaletteItem(STOP_ID, STOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.or(( CONTEXT_FOCUSED_SESSION_IS_ATTACH.toNegated()), CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)));
127
- registerDebugCommandPaletteItem(CONTINUE_ID, CONTINUE_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
128
- registerDebugCommandPaletteItem(FOCUS_REPL_ID, ( localize2WithPath(
129
- 'vs/workbench/contrib/debug/browser/debug.contribution',
130
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugFocusConsole' },
131
- "Focus on Debug Console View"
132
- )));
133
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(
134
- 'vs/workbench/contrib/debug/browser/debug.contribution',
135
- 'jumpToCursor',
136
- "Jump to Cursor"
137
- )), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
138
- registerDebugCommandPaletteItem(JUMP_TO_CURSOR_ID, ( localize2WithPath(
139
- 'vs/workbench/contrib/debug/browser/debug.contribution',
140
- 'SetNextStatement',
141
- "Set Next Statement"
142
- )), CONTEXT_JUMP_TO_CURSOR_SUPPORTED);
143
- registerDebugCommandPaletteItem(RunToCursorAction.ID, RunToCursorAction.LABEL, CONTEXT_DEBUGGERS_AVAILABLE);
144
- registerDebugCommandPaletteItem(SelectionToReplAction.ID, SelectionToReplAction.LABEL, CONTEXT_IN_DEBUG_MODE);
145
- registerDebugCommandPaletteItem(SelectionToWatchExpressionsAction.ID, SelectionToWatchExpressionsAction.LABEL);
146
- registerDebugCommandPaletteItem(TOGGLE_INLINE_BREAKPOINT_ID, ( localize2WithPath(
147
- 'vs/workbench/contrib/debug/browser/debug.contribution',
148
- 'inlineBreakpoint',
149
- "Inline Breakpoint"
150
- )));
151
- registerDebugCommandPaletteItem(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
152
- registerDebugCommandPaletteItem(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
153
- registerDebugCommandPaletteItem(SELECT_AND_START_ID, SELECT_AND_START_LABEL, ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( CONTEXT_DEBUG_STATE.notEqualsTo(getStateLabel(1 ))))));
154
- registerDebugCommandPaletteItem(NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL);
155
- registerDebugCommandPaletteItem(PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL);
156
- registerDebugCommandPaletteItem(SHOW_LOADED_SCRIPTS_ID, OPEN_LOADED_SCRIPTS_LABEL, CONTEXT_IN_DEBUG_MODE);
157
- registerDebugCommandPaletteItem(SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL);
158
- registerDebugCommandPaletteItem(SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL);
159
- registerDebugCommandPaletteItem(CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
160
- registerDebugCommandPaletteItem(CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
161
- registerDebugCommandPaletteItem(CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
162
- registerDebugCommandPaletteItem(CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
163
- const registerDebugViewMenuItem = (menuId, id, title, order, when, precondition, group = 'navigation', icon) => {
164
- MenuRegistry.appendMenuItem(menuId, {
165
- group,
166
- when,
167
- order,
168
- icon,
169
- command: {
170
- id,
171
- title,
172
- icon,
173
- precondition
174
- }
175
- });
176
- };
177
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_SESSION_ID, RESTART_LABEL, 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
178
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_ID, DISCONNECT_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
179
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, 21, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), CONTEXT_SUSPEND_DEBUGGEE_SUPPORTED, CONTEXT_TERMINATE_DEBUGGEE_SUPPORTED)), undefined, '3_modification');
180
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STOP_ID, STOP_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('session')), undefined, '3_modification');
181
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, PAUSE_ID, PAUSE_LABEL, 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))))));
182
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, CONTINUE_ID, CONTINUE_LABEL, 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')))));
183
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OVER_ID, STEP_OVER_LABEL, 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
184
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_INTO_ID, STEP_INTO_LABEL, 30, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
185
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, STEP_OUT_ID, STEP_OUT_LABEL, 40, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')));
186
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, TERMINATE_THREAD_ID, ( localizeWithPath(
187
- 'vs/workbench/contrib/debug/browser/debug.contribution',
188
- 'terminateThread',
189
- "Terminate Thread"
190
- )), 10, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('thread')), undefined, 'termination');
191
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, RESTART_FRAME_ID, ( localizeWithPath(
192
- 'vs/workbench/contrib/debug/browser/debug.contribution',
193
- 'restartFrame',
194
- "Restart Frame"
195
- )), 10, ( ContextKeyExpr.and(( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_RESTART_FRAME_SUPPORTED)), CONTEXT_STACK_FRAME_SUPPORTS_RESTART);
196
- registerDebugViewMenuItem(MenuId.DebugCallStackContext, COPY_STACK_TRACE_ID, ( localizeWithPath(
197
- 'vs/workbench/contrib/debug/browser/debug.contribution',
198
- 'copyStackTrace',
199
- "Copy Call Stack"
200
- )), 20, ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), undefined, '3_modification');
201
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, VIEW_MEMORY_ID, ( localizeWithPath(
202
- 'vs/workbench/contrib/debug/browser/debug.contribution',
203
- 'viewMemory',
204
- "View Binary Data"
205
- )), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
206
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, SET_VARIABLE_ID, ( localizeWithPath(
207
- 'vs/workbench/contrib/debug/browser/debug.contribution',
208
- 'setValue',
209
- "Set Value"
210
- )), 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');
211
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_VALUE_ID, ( localizeWithPath(
212
- 'vs/workbench/contrib/debug/browser/debug.contribution',
213
- 'copyValue',
214
- "Copy Value"
215
- )), 10, undefined, undefined, '5_cutcopypaste');
216
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, COPY_EVALUATE_PATH_ID, ( localizeWithPath(
217
- 'vs/workbench/contrib/debug/browser/debug.contribution',
218
- 'copyAsExpression',
219
- "Copy as Expression"
220
- )), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
221
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, ADD_TO_WATCH_ID, ( localizeWithPath(
222
- 'vs/workbench/contrib/debug/browser/debug.contribution',
223
- 'addToWatchExpressions',
224
- "Add to Watch"
225
- )), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
226
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(
227
- 'vs/workbench/contrib/debug/browser/debug.contribution',
228
- 'breakWhenValueIsRead',
229
- "Break on Value Read"
230
- )), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
231
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(
232
- 'vs/workbench/contrib/debug/browser/debug.contribution',
233
- 'breakWhenValueChanges',
234
- "Break on Value Change"
235
- )), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
236
- registerDebugViewMenuItem(MenuId.DebugVariablesContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(
237
- 'vs/workbench/contrib/debug/browser/debug.contribution',
238
- 'breakWhenValueIsAccessed',
239
- "Break on Value Access"
240
- )), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
241
- registerDebugViewMenuItem(MenuId.DebugHoverContext, VIEW_MEMORY_ID, ( localizeWithPath(
242
- 'vs/workbench/contrib/debug/browser/debug.contribution',
243
- 'viewMemory',
244
- "View Binary Data"
245
- )), 15, CONTEXT_CAN_VIEW_MEMORY, CONTEXT_IN_DEBUG_MODE, 'inline', debugInspectMemory);
246
- registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_VALUE_ID, ( localizeWithPath(
247
- 'vs/workbench/contrib/debug/browser/debug.contribution',
248
- 'copyValue',
249
- "Copy Value"
250
- )), 10, undefined, undefined, '5_cutcopypaste');
251
- registerDebugViewMenuItem(MenuId.DebugHoverContext, COPY_EVALUATE_PATH_ID, ( localizeWithPath(
252
- 'vs/workbench/contrib/debug/browser/debug.contribution',
253
- 'copyAsExpression',
254
- "Copy as Expression"
255
- )), 20, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, '5_cutcopypaste');
256
- registerDebugViewMenuItem(MenuId.DebugHoverContext, ADD_TO_WATCH_ID, ( localizeWithPath(
257
- 'vs/workbench/contrib/debug/browser/debug.contribution',
258
- 'addToWatchExpressions',
259
- "Add to Watch"
260
- )), 100, CONTEXT_VARIABLE_EVALUATE_NAME_PRESENT, undefined, 'z_commands');
261
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_READ_ID, ( localizeWithPath(
262
- 'vs/workbench/contrib/debug/browser/debug.contribution',
263
- 'breakWhenValueIsRead',
264
- "Break on Value Read"
265
- )), 200, CONTEXT_BREAK_WHEN_VALUE_IS_READ_SUPPORTED, undefined, 'z_commands');
266
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_CHANGES_ID, ( localizeWithPath(
267
- 'vs/workbench/contrib/debug/browser/debug.contribution',
268
- 'breakWhenValueChanges',
269
- "Break on Value Change"
270
- )), 210, CONTEXT_BREAK_WHEN_VALUE_CHANGES_SUPPORTED, undefined, 'z_commands');
271
- registerDebugViewMenuItem(MenuId.DebugHoverContext, BREAK_WHEN_VALUE_IS_ACCESSED_ID, ( localizeWithPath(
272
- 'vs/workbench/contrib/debug/browser/debug.contribution',
273
- 'breakWhenValueIsAccessed',
274
- "Break on Value Access"
275
- )), 220, CONTEXT_BREAK_WHEN_VALUE_IS_ACCESSED_SUPPORTED, undefined, 'z_commands');
276
- registerDebugViewMenuItem(MenuId.DebugWatchContext, ADD_WATCH_ID, ADD_WATCH_LABEL, 10, undefined, undefined, '3_modification');
277
- registerDebugViewMenuItem(MenuId.DebugWatchContext, EDIT_EXPRESSION_COMMAND_ID, ( localizeWithPath(
278
- 'vs/workbench/contrib/debug/browser/debug.contribution',
279
- 'editWatchExpression',
280
- "Edit Expression"
281
- )), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, '3_modification');
282
- registerDebugViewMenuItem(MenuId.DebugWatchContext, SET_EXPRESSION_COMMAND_ID, ( localizeWithPath(
283
- 'vs/workbench/contrib/debug/browser/debug.contribution',
284
- 'setValue',
285
- "Set Value"
286
- )), 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');
287
- registerDebugViewMenuItem(MenuId.DebugWatchContext, COPY_VALUE_ID, ( localizeWithPath(
288
- 'vs/workbench/contrib/debug/browser/debug.contribution',
289
- 'copyValue',
290
- "Copy Value"
291
- )), 40, ( ContextKeyExpr.or(( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('variable')))), CONTEXT_IN_DEBUG_MODE, '3_modification');
292
- registerDebugViewMenuItem(MenuId.DebugWatchContext, VIEW_MEMORY_ID, ( localizeWithPath(
293
- 'vs/workbench/contrib/debug/browser/debug.contribution',
294
- 'viewMemory',
295
- "View Binary Data"
296
- )), 10, CONTEXT_CAN_VIEW_MEMORY, undefined, 'inline', debugInspectMemory);
297
- registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_EXPRESSION_COMMAND_ID, ( localizeWithPath(
298
- 'vs/workbench/contrib/debug/browser/debug.contribution',
299
- 'removeWatchExpression',
300
- "Remove Expression"
301
- )), 20, ( CONTEXT_WATCH_ITEM_TYPE.isEqualTo('expression')), undefined, 'inline', watchExpressionRemove);
302
- registerDebugViewMenuItem(MenuId.DebugWatchContext, REMOVE_WATCH_EXPRESSIONS_COMMAND_ID, REMOVE_WATCH_EXPRESSIONS_LABEL, 20, undefined, undefined, 'z_commands');
303
- registerDebugViewMenuItem(MenuId.NotebookVariablesContext, COPY_NOTEBOOK_VARIABLE_VALUE_ID, COPY_NOTEBOOK_VARIABLE_VALUE_LABEL, 20, CONTEXT_VARIABLE_VALUE);
304
- if (isMacintosh) {
305
- const registerTouchBarEntry = (id, title, order, when, iconUri) => {
306
- MenuRegistry.appendMenuItem(MenuId.TouchBarContext, {
307
- command: {
308
- id,
309
- title,
310
- icon: { dark: iconUri }
311
- },
312
- when: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, when)),
313
- group: '9_debug',
314
- order
315
- });
316
- };
317
- registerTouchBarEntry(DEBUG_RUN_COMMAND_ID, DEBUG_RUN_LABEL, 0, ( CONTEXT_IN_DEBUG_MODE.toNegated()), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png')));
318
- registerTouchBarEntry(DEBUG_START_COMMAND_ID, DEBUG_START_LABEL, 1, ( CONTEXT_IN_DEBUG_MODE.toNegated()), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/run-with-debugging-tb.png')));
319
- registerTouchBarEntry(CONTINUE_ID, CONTINUE_LABEL, 0, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/continue-tb.png')));
320
- registerTouchBarEntry(PAUSE_ID, PAUSE_LABEL, 1, ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( ContextKeyExpr.and(( CONTEXT_DEBUG_STATE.isEqualTo('running')), ( CONTEXT_FOCUSED_SESSION_IS_NO_DEBUG.toNegated()))))), ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/pause-tb.png')));
321
- registerTouchBarEntry(STEP_OVER_ID, STEP_OVER_LABEL, 2, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepover-tb.png')));
322
- registerTouchBarEntry(STEP_INTO_ID, STEP_INTO_LABEL, 3, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepinto-tb.png')));
323
- registerTouchBarEntry(STEP_OUT_ID, STEP_OUT_LABEL, 4, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stepout-tb.png')));
324
- registerTouchBarEntry(RESTART_SESSION_ID, RESTART_LABEL, 5, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/restart-tb.png')));
325
- registerTouchBarEntry(STOP_ID, STOP_LABEL, 6, CONTEXT_IN_DEBUG_MODE, ( FileAccess.asFileUri('vs/workbench/contrib/debug/browser/media/stop-tb.png')));
326
- }
327
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { submenu: MenuId.EditorTitleRun, rememberDefaultAction: true, title: ( localize2WithPath(
328
- 'vs/workbench/contrib/debug/browser/debug.contribution',
329
- 'run',
330
- "Run or Debug..."
331
- )), icon: debugRun, group: 'navigation', order: -1 });
332
- MenuRegistry.appendMenuItem(MenuId.MenubarMainMenu, {
333
- submenu: MenuId.MenubarDebugMenu,
334
- title: {
335
- ...( localize2WithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'runMenu', "Run")),
336
- mnemonicTitle: ( localizeWithPath(
337
- 'vs/workbench/contrib/debug/browser/debug.contribution',
338
- { key: 'mRun', comment: ['&& denotes a mnemonic'] },
339
- "&&Run"
340
- ))
341
- },
342
- order: 6
343
- });
344
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
345
- group: '1_debug',
346
- command: {
347
- id: DEBUG_START_COMMAND_ID,
348
- title: ( localizeWithPath(
349
- 'vs/workbench/contrib/debug/browser/debug.contribution',
350
- { key: 'miStartDebugging', comment: ['&& denotes a mnemonic'] },
351
- "&&Start Debugging"
352
- ))
353
- },
354
- order: 1,
355
- when: CONTEXT_DEBUGGERS_AVAILABLE
356
- });
357
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
358
- group: '1_debug',
359
- command: {
360
- id: DEBUG_RUN_COMMAND_ID,
361
- title: ( localizeWithPath(
362
- 'vs/workbench/contrib/debug/browser/debug.contribution',
363
- { key: 'miRun', comment: ['&& denotes a mnemonic'] },
364
- "Run &&Without Debugging"
365
- ))
366
- },
367
- order: 2,
368
- when: CONTEXT_DEBUGGERS_AVAILABLE
369
- });
370
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
371
- group: '1_debug',
372
- command: {
373
- id: STOP_ID,
374
- title: ( localizeWithPath(
375
- 'vs/workbench/contrib/debug/browser/debug.contribution',
376
- { key: 'miStopDebugging', comment: ['&& denotes a mnemonic'] },
377
- "&&Stop Debugging"
378
- )),
379
- precondition: CONTEXT_IN_DEBUG_MODE
380
- },
381
- order: 3,
382
- when: CONTEXT_DEBUGGERS_AVAILABLE
383
- });
384
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
385
- group: '1_debug',
386
- command: {
387
- id: RESTART_SESSION_ID,
388
- title: ( localizeWithPath(
389
- 'vs/workbench/contrib/debug/browser/debug.contribution',
390
- { key: 'miRestart Debugging', comment: ['&& denotes a mnemonic'] },
391
- "&&Restart Debugging"
392
- )),
393
- precondition: CONTEXT_IN_DEBUG_MODE
394
- },
395
- order: 4,
396
- when: CONTEXT_DEBUGGERS_AVAILABLE
397
- });
398
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
399
- group: '2_configuration',
400
- command: {
401
- id: ADD_CONFIGURATION_ID,
402
- title: ( localizeWithPath(
403
- 'vs/workbench/contrib/debug/browser/debug.contribution',
404
- { key: 'miAddConfiguration', comment: ['&& denotes a mnemonic'] },
405
- "A&&dd Configuration..."
406
- ))
407
- },
408
- order: 2,
409
- when: CONTEXT_DEBUGGERS_AVAILABLE
410
- });
411
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
412
- group: '3_step',
413
- command: {
414
- id: STEP_OVER_ID,
415
- title: ( localizeWithPath(
416
- 'vs/workbench/contrib/debug/browser/debug.contribution',
417
- { key: 'miStepOver', comment: ['&& denotes a mnemonic'] },
418
- "Step &&Over"
419
- )),
420
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
421
- },
422
- order: 1,
423
- when: CONTEXT_DEBUGGERS_AVAILABLE
424
- });
425
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
426
- group: '3_step',
427
- command: {
428
- id: STEP_INTO_ID,
429
- title: ( localizeWithPath(
430
- 'vs/workbench/contrib/debug/browser/debug.contribution',
431
- { key: 'miStepInto', comment: ['&& denotes a mnemonic'] },
432
- "Step &&Into"
433
- )),
434
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
435
- },
436
- order: 2,
437
- when: CONTEXT_DEBUGGERS_AVAILABLE
438
- });
439
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
440
- group: '3_step',
441
- command: {
442
- id: STEP_OUT_ID,
443
- title: ( localizeWithPath(
444
- 'vs/workbench/contrib/debug/browser/debug.contribution',
445
- { key: 'miStepOut', comment: ['&& denotes a mnemonic'] },
446
- "Step O&&ut"
447
- )),
448
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
449
- },
450
- order: 3,
451
- when: CONTEXT_DEBUGGERS_AVAILABLE
452
- });
453
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
454
- group: '3_step',
455
- command: {
456
- id: CONTINUE_ID,
457
- title: ( localizeWithPath(
458
- 'vs/workbench/contrib/debug/browser/debug.contribution',
459
- { key: 'miContinue', comment: ['&& denotes a mnemonic'] },
460
- "&&Continue"
461
- )),
462
- precondition: ( CONTEXT_DEBUG_STATE.isEqualTo('stopped'))
463
- },
464
- order: 4,
465
- when: CONTEXT_DEBUGGERS_AVAILABLE
466
- });
467
- MenuRegistry.appendMenuItem(MenuId.MenubarNewBreakpointMenu, {
468
- group: '1_breakpoints',
469
- command: {
470
- id: TOGGLE_INLINE_BREAKPOINT_ID,
471
- title: ( localizeWithPath(
472
- 'vs/workbench/contrib/debug/browser/debug.contribution',
473
- { key: 'miInlineBreakpoint', comment: ['&& denotes a mnemonic'] },
474
- "Inline Breakp&&oint"
475
- ))
476
- },
477
- order: 2,
478
- when: CONTEXT_DEBUGGERS_AVAILABLE
479
- });
480
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
481
- group: '4_new_breakpoint',
482
- title: ( localizeWithPath(
483
- 'vs/workbench/contrib/debug/browser/debug.contribution',
484
- { key: 'miNewBreakpoint', comment: ['&& denotes a mnemonic'] },
485
- "&&New Breakpoint"
486
- )),
487
- submenu: MenuId.MenubarNewBreakpointMenu,
488
- order: 2,
489
- when: CONTEXT_DEBUGGERS_AVAILABLE
490
- });
491
- MenuRegistry.appendMenuItem(MenuId.MenubarDebugMenu, {
492
- group: 'z_install',
493
- command: {
494
- id: 'debug.installAdditionalDebuggers',
495
- title: ( localizeWithPath(
496
- 'vs/workbench/contrib/debug/browser/debug.contribution',
497
- { key: 'miInstallAdditionalDebuggers', comment: ['&& denotes a mnemonic'] },
498
- "&&Install Additional Debuggers..."
499
- ))
500
- },
501
- order: 1
502
- });
503
- const VIEW_CONTAINER = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
504
- id: DEBUG_PANEL_ID,
505
- title: ( localize2WithPath(
506
- 'vs/workbench/contrib/debug/browser/debug.contribution',
507
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
508
- "Debug Console"
509
- )),
510
- icon: debugConsoleViewIcon,
511
- ctorDescriptor: ( new SyncDescriptor(
512
- ViewPaneContainer,
513
- [DEBUG_PANEL_ID, { mergeViewWithContainerWhenSingleView: true }]
514
- )),
515
- storageId: DEBUG_PANEL_ID,
516
- hideIfEmpty: true,
517
- order: 2,
518
- }, 1 , { doNotRegisterOpenCommand: true });
519
- ( Registry.as(Extensions$2.ViewsRegistry)).registerViews([{
520
- id: REPL_VIEW_ID,
521
- name: ( localize2WithPath(
522
- 'vs/workbench/contrib/debug/browser/debug.contribution',
523
- { comment: ['Debug is a noun in this context, not a verb.'], key: 'debugPanel' },
524
- "Debug Console"
525
- )),
526
- containerIcon: debugConsoleViewIcon,
527
- canToggleVisibility: false,
528
- canMoveView: true,
529
- when: CONTEXT_DEBUGGERS_AVAILABLE,
530
- ctorDescriptor: ( new SyncDescriptor(Repl)),
531
- openCommandActionDescriptor: {
532
- id: 'workbench.debug.action.toggleRepl',
533
- mnemonicTitle: ( localizeWithPath(
534
- 'vs/workbench/contrib/debug/browser/debug.contribution',
535
- { key: 'miToggleDebugConsole', comment: ['&& denotes a mnemonic'] },
536
- "De&&bug Console"
537
- )),
538
- keybindings: { primary: 2048 | 1024 | 55 },
539
- order: 2
540
- }
541
- }], VIEW_CONTAINER);
542
- const viewContainer = ( Registry.as(Extensions$2.ViewContainersRegistry)).registerViewContainer({
543
- id: VIEWLET_ID,
544
- title: ( localize2WithPath(
545
- 'vs/workbench/contrib/debug/browser/debug.contribution',
546
- 'run and debug',
547
- "Run and Debug"
548
- )),
549
- openCommandActionDescriptor: {
550
- id: VIEWLET_ID,
551
- mnemonicTitle: ( localizeWithPath(
552
- 'vs/workbench/contrib/debug/browser/debug.contribution',
553
- { key: 'miViewRun', comment: ['&& denotes a mnemonic'] },
554
- "&&Run"
555
- )),
556
- keybindings: { primary: 2048 | 1024 | 34 },
557
- order: 3
558
- },
559
- ctorDescriptor: ( new SyncDescriptor(DebugViewPaneContainer)),
560
- icon: runViewIcon,
561
- alwaysUseContainerInfo: true,
562
- order: 3,
563
- }, 0 );
564
- const viewsRegistry = ( Registry.as(Extensions$2.ViewsRegistry));
565
- viewsRegistry.registerViews([{ id: VARIABLES_VIEW_ID, name: ( localize2WithPath(
566
- 'vs/workbench/contrib/debug/browser/debug.contribution',
567
- 'variables',
568
- "Variables"
569
- )), 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);
570
- viewsRegistry.registerViews([{ id: WATCH_VIEW_ID, name: ( localize2WithPath('vs/workbench/contrib/debug/browser/debug.contribution', 'watch', "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);
571
- viewsRegistry.registerViews([{ id: CALLSTACK_VIEW_ID, name: ( localize2WithPath(
572
- 'vs/workbench/contrib/debug/browser/debug.contribution',
573
- 'callStack',
574
- "Call Stack"
575
- )), 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);
576
- viewsRegistry.registerViews([{ id: BREAKPOINTS_VIEW_ID, name: ( localize2WithPath(
577
- 'vs/workbench/contrib/debug/browser/debug.contribution',
578
- 'breakpoints',
579
- "Breakpoints"
580
- )), 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);
581
- 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);
582
- viewsRegistry.registerViews([{ id: LOADED_SCRIPTS_VIEW_ID, name: ( localize2WithPath(
583
- 'vs/workbench/contrib/debug/browser/debug.contribution',
584
- 'loadedScripts',
585
- "Loaded Scripts"
586
- )), 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);
587
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(DisassemblyView, DISASSEMBLY_VIEW_ID, ( localizeWithPath(
588
- 'vs/workbench/contrib/debug/browser/debug.contribution',
589
- 'disassembly',
590
- "Disassembly"
591
- ))), [( new SyncDescriptor(DisassemblyViewInput))]);
592
- const configurationRegistry = ( Registry.as(Extensions$3.Configuration));
593
- configurationRegistry.registerConfiguration({
594
- id: 'debug',
595
- order: 20,
596
- title: ( localizeWithPath(
597
- 'vs/workbench/contrib/debug/browser/debug.contribution',
598
- 'debugConfigurationTitle',
599
- "Debug"
600
- )),
601
- type: 'object',
602
- properties: {
603
- 'debug.allowBreakpointsEverywhere': {
604
- type: 'boolean',
605
- description: ( localizeWithPath(
606
- 'vs/workbench/contrib/debug/browser/debug.contribution',
607
- { comment: ['This is the description for a setting'], key: 'allowBreakpointsEverywhere' },
608
- "Allow setting breakpoints in any file."
609
- )),
610
- default: false
611
- },
612
- 'debug.openExplorerOnEnd': {
613
- type: 'boolean',
614
- description: ( localizeWithPath(
615
- 'vs/workbench/contrib/debug/browser/debug.contribution',
616
- { comment: ['This is the description for a setting'], key: 'openExplorerOnEnd' },
617
- "Automatically open the explorer view at the end of a debug session."
618
- )),
619
- default: false
620
- },
621
- 'debug.closeReadonlyTabsOnEnd': {
622
- type: 'boolean',
623
- description: ( localizeWithPath(
624
- 'vs/workbench/contrib/debug/browser/debug.contribution',
625
- { comment: ['This is the description for a setting'], key: 'closeReadonlyTabsOnEnd' },
626
- "At the end of a debug session, all the read-only tabs associated with that session will be closed"
627
- )),
628
- default: false
629
- },
630
- 'debug.inlineValues': {
631
- type: 'string',
632
- 'enum': ['on', 'off', 'auto'],
633
- description: ( localizeWithPath(
634
- 'vs/workbench/contrib/debug/browser/debug.contribution',
635
- { comment: ['This is the description for a setting'], key: 'inlineValues' },
636
- "Show variable values inline in editor while debugging."
637
- )),
638
- 'enumDescriptions': [
639
- ( localizeWithPath(
640
- 'vs/workbench/contrib/debug/browser/debug.contribution',
641
- 'inlineValues.on',
642
- "Always show variable values inline in editor while debugging."
643
- )),
644
- ( localizeWithPath(
645
- 'vs/workbench/contrib/debug/browser/debug.contribution',
646
- 'inlineValues.off',
647
- "Never show variable values inline in editor while debugging."
648
- )),
649
- ( localizeWithPath(
650
- 'vs/workbench/contrib/debug/browser/debug.contribution',
651
- 'inlineValues.focusNoScroll',
652
- "Show variable values inline in editor while debugging when the language supports inline value locations."
653
- )),
654
- ],
655
- default: 'auto'
656
- },
657
- 'debug.toolBarLocation': {
658
- enum: ['floating', 'docked', 'commandCenter', 'hidden'],
659
- markdownDescription: ( localizeWithPath(
660
- 'vs/workbench/contrib/debug/browser/debug.contribution',
661
- { comment: ['This is the description for a setting'], key: 'toolBarLocation' },
662
- "Controls the location of the debug toolbar. Either `floating` in all views, `docked` in the debug view, `commandCenter` (requires `{0}`), or `hidden`.",
663
- '#window.commandCenter#'
664
- )),
665
- default: 'floating',
666
- markdownEnumDescriptions: [
667
- ( localizeWithPath(
668
- 'vs/workbench/contrib/debug/browser/debug.contribution',
669
- 'debugToolBar.floating',
670
- "Show debug toolbar in all views."
671
- )),
672
- ( localizeWithPath(
673
- 'vs/workbench/contrib/debug/browser/debug.contribution',
674
- 'debugToolBar.docked',
675
- "Show debug toolbar only in debug views."
676
- )),
677
- ( localizeWithPath(
678
- 'vs/workbench/contrib/debug/browser/debug.contribution',
679
- 'debugToolBar.commandCenter',
680
- "`(Experimental)` Show debug toolbar in the command center."
681
- )),
682
- ( localizeWithPath(
683
- 'vs/workbench/contrib/debug/browser/debug.contribution',
684
- 'debugToolBar.hidden',
685
- "Do not show debug toolbar."
686
- )),
687
- ]
688
- },
689
- 'debug.showInStatusBar': {
690
- enum: ['never', 'always', 'onFirstSessionStart'],
691
- enumDescriptions: [( localizeWithPath(
692
- 'vs/workbench/contrib/debug/browser/debug.contribution',
693
- 'never',
694
- "Never show debug in Status bar"
695
- )), ( localizeWithPath(
696
- 'vs/workbench/contrib/debug/browser/debug.contribution',
697
- 'always',
698
- "Always show debug in Status bar"
699
- )), ( localizeWithPath(
700
- 'vs/workbench/contrib/debug/browser/debug.contribution',
701
- 'onFirstSessionStart',
702
- "Show debug in Status bar only after debug was started for the first time"
703
- ))],
704
- description: ( localizeWithPath(
705
- 'vs/workbench/contrib/debug/browser/debug.contribution',
706
- { comment: ['This is the description for a setting'], key: 'showInStatusBar' },
707
- "Controls when the debug Status bar should be visible."
708
- )),
709
- default: 'onFirstSessionStart'
710
- },
711
- 'debug.internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
712
- 'debug.console.closeOnEnd': {
713
- type: 'boolean',
714
- description: ( localizeWithPath(
715
- 'vs/workbench/contrib/debug/browser/debug.contribution',
716
- 'debug.console.closeOnEnd',
717
- "Controls if the Debug Console should be automatically closed when the debug session ends."
718
- )),
719
- default: false
720
- },
721
- 'debug.terminal.clearBeforeReusing': {
722
- type: 'boolean',
723
- description: ( localizeWithPath(
724
- 'vs/workbench/contrib/debug/browser/debug.contribution',
725
- { comment: ['This is the description for a setting'], key: 'debug.terminal.clearBeforeReusing' },
726
- "Before starting a new debug session in an integrated or external terminal, clear the terminal."
727
- )),
728
- default: false
729
- },
730
- 'debug.openDebug': {
731
- enum: ['neverOpen', 'openOnSessionStart', 'openOnFirstSessionStart', 'openOnDebugBreak'],
732
- default: 'openOnDebugBreak',
733
- description: ( localizeWithPath(
734
- 'vs/workbench/contrib/debug/browser/debug.contribution',
735
- 'openDebug',
736
- "Controls when the debug view should open."
737
- ))
738
- },
739
- 'debug.showSubSessionsInToolBar': {
740
- type: 'boolean',
741
- description: ( localizeWithPath(
742
- 'vs/workbench/contrib/debug/browser/debug.contribution',
743
- { comment: ['This is the description for a setting'], key: 'showSubSessionsInToolBar' },
744
- "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."
745
- )),
746
- default: false
747
- },
748
- 'debug.console.fontSize': {
749
- type: 'number',
750
- description: ( localizeWithPath(
751
- 'vs/workbench/contrib/debug/browser/debug.contribution',
752
- 'debug.console.fontSize',
753
- "Controls the font size in pixels in the Debug Console."
754
- )),
755
- default: isMacintosh ? 12 : 14,
756
- },
757
- 'debug.console.fontFamily': {
758
- type: 'string',
759
- description: ( localizeWithPath(
760
- 'vs/workbench/contrib/debug/browser/debug.contribution',
761
- 'debug.console.fontFamily',
762
- "Controls the font family in the Debug Console."
763
- )),
764
- default: 'default'
765
- },
766
- 'debug.console.lineHeight': {
767
- type: 'number',
768
- description: ( localizeWithPath(
769
- 'vs/workbench/contrib/debug/browser/debug.contribution',
770
- 'debug.console.lineHeight',
771
- "Controls the line height in pixels in the Debug Console. Use 0 to compute the line height from the font size."
772
- )),
773
- default: 0
774
- },
775
- 'debug.console.wordWrap': {
776
- type: 'boolean',
777
- description: ( localizeWithPath(
778
- 'vs/workbench/contrib/debug/browser/debug.contribution',
779
- 'debug.console.wordWrap',
780
- "Controls if the lines should wrap in the Debug Console."
781
- )),
782
- default: true
783
- },
784
- 'debug.console.historySuggestions': {
785
- type: 'boolean',
786
- description: ( localizeWithPath(
787
- 'vs/workbench/contrib/debug/browser/debug.contribution',
788
- 'debug.console.historySuggestions',
789
- "Controls if the Debug Console should suggest previously typed input."
790
- )),
791
- default: true
792
- },
793
- 'debug.console.collapseIdenticalLines': {
794
- type: 'boolean',
795
- description: ( localizeWithPath(
796
- 'vs/workbench/contrib/debug/browser/debug.contribution',
797
- 'debug.console.collapseIdenticalLines',
798
- "Controls if the Debug Console should collapse identical lines and show a number of occurrences with a badge."
799
- )),
800
- default: true
801
- },
802
- 'debug.console.acceptSuggestionOnEnter': {
803
- enum: ['off', 'on'],
804
- description: ( localizeWithPath(
805
- 'vs/workbench/contrib/debug/browser/debug.contribution',
806
- 'debug.console.acceptSuggestionOnEnter',
807
- "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."
808
- )),
809
- default: 'off'
810
- },
811
- 'launch': {
812
- type: 'object',
813
- description: ( localizeWithPath(
814
- 'vs/workbench/contrib/debug/browser/debug.contribution',
815
- { comment: ['This is the description for a setting'], key: 'launch' },
816
- "Global debug launch configuration. Should be used as an alternative to 'launch.json' that is shared across workspaces."
817
- )),
818
- default: { configurations: [], compounds: [] },
819
- $ref: launchSchemaId
820
- },
821
- 'debug.focusWindowOnBreak': {
822
- type: 'boolean',
823
- description: ( localizeWithPath(
824
- 'vs/workbench/contrib/debug/browser/debug.contribution',
825
- 'debug.focusWindowOnBreak',
826
- "Controls whether the workbench window should be focused when the debugger breaks."
827
- )),
828
- default: true
829
- },
830
- 'debug.focusEditorOnBreak': {
831
- type: 'boolean',
832
- description: ( localizeWithPath(
833
- 'vs/workbench/contrib/debug/browser/debug.contribution',
834
- 'debug.focusEditorOnBreak',
835
- "Controls whether the editor should be focused when the debugger breaks."
836
- )),
837
- default: true
838
- },
839
- 'debug.onTaskErrors': {
840
- enum: ['debugAnyway', 'showErrors', 'prompt', 'abort'],
841
- enumDescriptions: [( localizeWithPath(
842
- 'vs/workbench/contrib/debug/browser/debug.contribution',
843
- 'debugAnyway',
844
- "Ignore task errors and start debugging."
845
- )), ( localizeWithPath(
846
- 'vs/workbench/contrib/debug/browser/debug.contribution',
847
- 'showErrors',
848
- "Show the Problems view and do not start debugging."
849
- )), ( localizeWithPath(
850
- 'vs/workbench/contrib/debug/browser/debug.contribution',
851
- 'prompt',
852
- "Prompt user."
853
- )), ( localizeWithPath(
854
- 'vs/workbench/contrib/debug/browser/debug.contribution',
855
- 'cancel',
856
- "Cancel debugging."
857
- ))],
858
- description: ( localizeWithPath(
859
- 'vs/workbench/contrib/debug/browser/debug.contribution',
860
- 'debug.onTaskErrors',
861
- "Controls what to do when errors are encountered after running a preLaunchTask."
862
- )),
863
- default: 'prompt'
864
- },
865
- 'debug.showBreakpointsInOverviewRuler': {
866
- type: 'boolean',
867
- description: ( localizeWithPath(
868
- 'vs/workbench/contrib/debug/browser/debug.contribution',
869
- { comment: ['This is the description for a setting'], key: 'showBreakpointsInOverviewRuler' },
870
- "Controls whether breakpoints should be shown in the overview ruler."
871
- )),
872
- default: false
873
- },
874
- 'debug.showInlineBreakpointCandidates': {
875
- type: 'boolean',
876
- description: ( localizeWithPath(
877
- 'vs/workbench/contrib/debug/browser/debug.contribution',
878
- { comment: ['This is the description for a setting'], key: 'showInlineBreakpointCandidates' },
879
- "Controls whether inline breakpoints candidate decorations should be shown in the editor while debugging."
880
- )),
881
- default: true
882
- },
883
- 'debug.saveBeforeStart': {
884
- description: ( localizeWithPath(
885
- 'vs/workbench/contrib/debug/browser/debug.contribution',
886
- 'debug.saveBeforeStart',
887
- "Controls what editors to save before starting a debug session."
888
- )),
889
- enum: ['allEditorsInActiveGroup', 'nonUntitledEditorsInActiveGroup', 'none'],
890
- enumDescriptions: [
891
- ( localizeWithPath(
892
- 'vs/workbench/contrib/debug/browser/debug.contribution',
893
- 'debug.saveBeforeStart.allEditorsInActiveGroup',
894
- "Save all editors in the active group before starting a debug session."
895
- )),
896
- ( localizeWithPath(
897
- 'vs/workbench/contrib/debug/browser/debug.contribution',
898
- 'debug.saveBeforeStart.nonUntitledEditorsInActiveGroup',
899
- "Save all editors in the active group except untitled ones before starting a debug session."
900
- )),
901
- ( localizeWithPath(
902
- 'vs/workbench/contrib/debug/browser/debug.contribution',
903
- 'debug.saveBeforeStart.none',
904
- "Don't save any editors before starting a debug session."
905
- )),
906
- ],
907
- default: 'allEditorsInActiveGroup',
908
- scope: 5
909
- },
910
- 'debug.confirmOnExit': {
911
- description: ( localizeWithPath(
912
- 'vs/workbench/contrib/debug/browser/debug.contribution',
913
- 'debug.confirmOnExit',
914
- "Controls whether to confirm when the window closes if there are active debug sessions."
915
- )),
916
- type: 'string',
917
- enum: ['never', 'always'],
918
- enumDescriptions: [
919
- ( localizeWithPath(
920
- 'vs/workbench/contrib/debug/browser/debug.contribution',
921
- 'debug.confirmOnExit.never',
922
- "Never confirm."
923
- )),
924
- ( localizeWithPath(
925
- 'vs/workbench/contrib/debug/browser/debug.contribution',
926
- 'debug.confirmOnExit.always',
927
- "Always confirm if there are debug sessions."
928
- )),
929
- ],
930
- default: 'never'
931
- },
932
- 'debug.disassemblyView.showSourceCode': {
933
- type: 'boolean',
934
- default: true,
935
- description: ( localizeWithPath(
936
- 'vs/workbench/contrib/debug/browser/debug.contribution',
937
- 'debug.disassemblyView.showSourceCode',
938
- "Show Source Code in Disassembly View."
939
- ))
940
- },
941
- 'debug.autoExpandLazyVariables': {
942
- type: 'boolean',
943
- default: false,
944
- description: ( localizeWithPath(
945
- 'vs/workbench/contrib/debug/browser/debug.contribution',
946
- 'debug.autoExpandLazyVariables',
947
- "Automatically show values for variables that are lazily resolved by the debugger, such as getters."
948
- ))
949
- },
950
- 'debug.enableStatusBarColor': {
951
- type: 'boolean',
952
- description: ( localizeWithPath(
953
- 'vs/workbench/contrib/debug/browser/debug.contribution',
954
- 'debug.enableStatusBarColor',
955
- "Color of the Status bar when debugger is active."
956
- )),
957
- default: true
958
- },
959
- 'debug.hideLauncherWhileDebugging': {
960
- type: 'boolean',
961
- markdownDescription: ( localizeWithPath(
962
- 'vs/workbench/contrib/debug/browser/debug.contribution',
963
- { comment: ['This is the description for a setting'], key: 'debug.hideLauncherWhileDebugging' },
964
- "Hide 'Start Debugging' control in title bar of 'Run and Debug' view while debugging is active. Only relevant when `{0}` is not `docked`.",
965
- '#debug.toolBarLocation#'
966
- )),
967
- default: false
968
- }
969
- }
970
- });