@codingame/monaco-vscode-debug-service-override 1.83.4 → 1.83.6

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 (47) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +5 -1
  3. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +193 -86
  4. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +44 -10
  5. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +254 -60
  6. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +10 -2
  7. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +98 -28
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +429 -185
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +25 -4
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +62 -11
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +130 -32
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -4
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +5 -1
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +105 -21
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +10 -2
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +18 -3
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +39 -9
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +100 -24
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +58 -26
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +17 -3
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +12 -3
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +80 -17
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +15 -8
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +8 -12
  25. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +36 -8
  26. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +24 -13
  27. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +33 -3
  28. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +34 -6
  29. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +26 -9
  30. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +48 -14
  31. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +31 -5
  32. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +20 -4
  33. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +40 -9
  34. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +49 -9
  35. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +5 -60
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +18 -5
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +15 -3
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +32 -22
  39. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +205 -41
  40. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +5 -1
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +51 -10
  42. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +5 -1
  43. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +5 -1
  44. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -1
  45. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +18 -7
  46. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +80 -16
  47. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +5 -1
@@ -39,7 +39,11 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
39
39
  -1,
40
40
  contextViewService,
41
41
  defaultSelectBoxStyles,
42
- { ariaLabel: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'debugLaunchConfigurations', 'Debug Launch Configurations') }
42
+ { ariaLabel: ( nls.localizeWithPath(
43
+ 'vs/workbench/contrib/debug/browser/debugActionViewItems',
44
+ 'debugLaunchConfigurations',
45
+ 'Debug Launch Configurations'
46
+ )) }
43
47
  ));
44
48
  this.selectBox.setFocusable(false);
45
49
  this.toDispose.push(this.selectBox);
@@ -192,7 +196,11 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
192
196
  });
193
197
  });
194
198
  if (this.debugOptions.length === 0) {
195
- this.debugOptions.push({ label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'noConfigurations', "No Configurations"), handler: async () => false });
199
+ this.debugOptions.push({ label: ( nls.localizeWithPath(
200
+ 'vs/workbench/contrib/debug/browser/debugActionViewItems',
201
+ 'noConfigurations',
202
+ "No Configurations"
203
+ )), handler: async () => false });
196
204
  }
197
205
  this.debugOptions.push({ label: StartDebugActionViewItem_1.SEPARATOR, handler: () => Promise.resolve(false) });
198
206
  disabledIdxs.push(this.debugOptions.length - 1);
@@ -210,7 +218,16 @@ let StartDebugActionViewItem = class StartDebugActionViewItem extends BaseAction
210
218
  });
211
219
  });
212
220
  manager.getLaunches().filter(l => !l.hidden).forEach(l => {
213
- const label = inWorkspace ? nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', "addConfigTo", "Add Config ({0})...", l.name) : nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'addConfiguration', "Add Configuration...");
221
+ const label = inWorkspace ? ( nls.localizeWithPath(
222
+ 'vs/workbench/contrib/debug/browser/debugActionViewItems',
223
+ "addConfigTo",
224
+ "Add Config ({0})...",
225
+ l.name
226
+ )) : ( nls.localizeWithPath(
227
+ 'vs/workbench/contrib/debug/browser/debugActionViewItems',
228
+ 'addConfiguration',
229
+ "Add Configuration..."
230
+ ));
214
231
  this.debugOptions.push({
215
232
  label, handler: async () => {
216
233
  await this.commandService.executeCommand(ADD_CONFIGURATION_ID, ( l.uri.toString()));
@@ -233,7 +250,11 @@ StartDebugActionViewItem = StartDebugActionViewItem_1 = ( __decorate([
233
250
  ], StartDebugActionViewItem));
234
251
  let FocusSessionActionViewItem = class FocusSessionActionViewItem extends SelectActionViewItem {
235
252
  constructor(action, session, debugService, contextViewService, configurationService) {
236
- super(null, action, [], -1, contextViewService, defaultSelectBoxStyles, { ariaLabel: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugActionViewItems', 'debugSession', 'Debug Session') });
253
+ super(null, action, [], -1, contextViewService, defaultSelectBoxStyles, { ariaLabel: ( nls.localizeWithPath(
254
+ 'vs/workbench/contrib/debug/browser/debugActionViewItems',
255
+ 'debugSession',
256
+ 'Debug Session'
257
+ )) });
237
258
  this.debugService = debugService;
238
259
  this.configurationService = configurationService;
239
260
  this._register(this.debugService.getViewModel().onDidFocusSession(() => {
@@ -72,7 +72,11 @@ let AdapterManager = class AdapterManager extends Disposable {
72
72
  delta.added.forEach(added => {
73
73
  added.value.forEach(rawAdapter => {
74
74
  if (!rawAdapter.type || (typeof rawAdapter.type !== 'string')) {
75
- added.collector.error(nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugNoType', "Debugger 'type' can not be omitted and must be of type 'string'."));
75
+ added.collector.error(( nls.localizeWithPath(
76
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
77
+ 'debugNoType',
78
+ "Debugger 'type' can not be omitted and must be of type 'string'."
79
+ )));
76
80
  }
77
81
  if (rawAdapter.type !== '*') {
78
82
  const existing = this.getDebugger(rawAdapter.type);
@@ -115,12 +119,20 @@ let AdapterManager = class AdapterManager extends Disposable {
115
119
  properties: {
116
120
  'name': {
117
121
  type: 'string',
118
- description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugName', "Name of configuration; appears in the launch configuration dropdown menu."),
122
+ description: ( nls.localizeWithPath(
123
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
124
+ 'debugName',
125
+ "Name of configuration; appears in the launch configuration dropdown menu."
126
+ )),
119
127
  default: 'Launch'
120
128
  },
121
129
  'debugServer': {
122
130
  type: 'number',
123
- description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugServer', "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"),
131
+ description: ( nls.localizeWithPath(
132
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
133
+ 'debugServer',
134
+ "For debug extension development only: if a port is specified VS Code tries to connect to a debug adapter running in server mode"
135
+ )),
124
136
  default: 4711
125
137
  },
126
138
  'preLaunchTask': {
@@ -129,7 +141,11 @@ let AdapterManager = class AdapterManager extends Disposable {
129
141
  }],
130
142
  default: '',
131
143
  defaultSnippets: [{ body: { task: '', type: '' } }],
132
- description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugPrelaunchTask', "Task to run before debug session starts.")
144
+ description: ( nls.localizeWithPath(
145
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
146
+ 'debugPrelaunchTask',
147
+ "Task to run before debug session starts."
148
+ ))
133
149
  },
134
150
  'postDebugTask': {
135
151
  anyOf: [taskSchema, {
@@ -137,13 +153,21 @@ let AdapterManager = class AdapterManager extends Disposable {
137
153
  }],
138
154
  default: '',
139
155
  defaultSnippets: [{ body: { task: '', type: '' } }],
140
- description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'debugPostDebugTask', "Task to run after debug session ends.")
156
+ description: ( nls.localizeWithPath(
157
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
158
+ 'debugPostDebugTask',
159
+ "Task to run after debug session ends."
160
+ ))
141
161
  },
142
162
  'presentation': presentationSchema,
143
163
  'internalConsoleOptions': INTERNAL_CONSOLE_OPTIONS_SCHEMA,
144
164
  'suppressMultipleSessionWarning': {
145
165
  type: 'boolean',
146
- description: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'suppressMultipleSessionWarning', "Disable the warning when trying to start the same debug configuration more than once."),
166
+ description: ( nls.localizeWithPath(
167
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
168
+ 'suppressMultipleSessionWarning',
169
+ "Disable the warning when trying to start the same debug configuration more than once."
170
+ )),
147
171
  default: true
148
172
  }
149
173
  }
@@ -294,8 +318,18 @@ let AdapterManager = class AdapterManager extends Disposable {
294
318
  }
295
319
  const { confirmed } = await this.dialogService.confirm({
296
320
  type: Severity.Warning,
297
- message: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'CouldNotFindLanguage', "You don't have an extension for debugging {0}. Should we find a {0} extension in the Marketplace?", languageLabel),
298
- primaryButton: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', { key: 'findExtension', comment: ['&& denotes a mnemonic'] }, "&&Find {0} extension", languageLabel)
321
+ message: ( nls.localizeWithPath(
322
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
323
+ 'CouldNotFindLanguage',
324
+ "You don't have an extension for debugging {0}. Should we find a {0} extension in the Marketplace?",
325
+ languageLabel
326
+ )),
327
+ primaryButton: ( nls.localizeWithPath(
328
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
329
+ { key: 'findExtension', comment: ['&& denotes a mnemonic'] },
330
+ "&&Find {0} extension",
331
+ languageLabel
332
+ ))
299
333
  });
300
334
  if (confirmed) {
301
335
  await this.commandService.executeCommand('debug.installAdditionalDebuggers', languageLabel);
@@ -321,7 +355,11 @@ let AdapterManager = class AdapterManager extends Disposable {
321
355
  });
322
356
  const picks = [];
323
357
  if (suggestedCandidates.length > 0) {
324
- picks.push({ type: 'separator', label: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'suggestedDebuggers', "Suggested") }, ...( suggestedCandidates.map(c => ({ label: c.label, debugger: c }))));
358
+ picks.push({ type: 'separator', label: ( nls.localizeWithPath(
359
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
360
+ 'suggestedDebuggers',
361
+ "Suggested"
362
+ )) }, ...( suggestedCandidates.map(c => ({ label: c.label, debugger: c }))));
325
363
  }
326
364
  if (otherCandidates.length > 0) {
327
365
  if (picks.length > 0) {
@@ -329,8 +367,21 @@ let AdapterManager = class AdapterManager extends Disposable {
329
367
  }
330
368
  picks.push(...( otherCandidates.map(c => ({ label: c.label, debugger: c }))));
331
369
  }
332
- picks.push({ type: 'separator', label: '' }, { label: languageLabel ? nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'installLanguage', "Install an extension for {0}...", languageLabel) : nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'installExt', "Install extension...") });
333
- const placeHolder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugAdapterManager', 'selectDebug', "Select debugger");
370
+ picks.push({ type: 'separator', label: '' }, { label: languageLabel ? ( nls.localizeWithPath(
371
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
372
+ 'installLanguage',
373
+ "Install an extension for {0}...",
374
+ languageLabel
375
+ )) : ( nls.localizeWithPath(
376
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
377
+ 'installExt',
378
+ "Install extension..."
379
+ )) });
380
+ const placeHolder = ( nls.localizeWithPath(
381
+ 'vs/workbench/contrib/debug/browser/debugAdapterManager',
382
+ 'selectDebug',
383
+ "Select debugger"
384
+ ));
334
385
  return this.quickInputService.pick(picks, { activeItem: picks[0], placeHolder })
335
386
  .then(picked => {
336
387
  if (picked && picked.debugger) {
@@ -48,7 +48,6 @@ const SELECT_DEBUG_CONSOLE_ID = 'workbench.action.debug.selectDebugConsole';
48
48
  const SELECT_DEBUG_SESSION_ID = 'workbench.action.debug.selectDebugSession';
49
49
  const DEBUG_CONFIGURE_COMMAND_ID = 'workbench.action.debug.configure';
50
50
  const DEBUG_START_COMMAND_ID = 'workbench.action.debug.start';
51
- const DEBUG_RUN_COMMAND_ID = 'workbench.action.debug.run';
52
51
  const EDIT_EXPRESSION_COMMAND_ID = 'debug.renameWatchExpression';
53
52
  const SET_EXPRESSION_COMMAND_ID = 'debug.setWatchExpression';
54
53
  const REMOVE_EXPRESSION_COMMAND_ID = 'debug.removeWatchExpression';
@@ -59,31 +58,110 @@ const CALLSTACK_TOP_ID = 'workbench.action.debug.callStackTop';
59
58
  const CALLSTACK_BOTTOM_ID = 'workbench.action.debug.callStackBottom';
60
59
  const CALLSTACK_UP_ID = 'workbench.action.debug.callStackUp';
61
60
  const CALLSTACK_DOWN_ID = 'workbench.action.debug.callStackDown';
62
- const DEBUG_COMMAND_CATEGORY = { original: 'Debug', value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'debug', 'Debug') };
63
- const RESTART_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'restartDebug', "Restart"), original: 'Restart' };
64
- const STEP_OVER_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepOverDebug', "Step Over"), original: 'Step Over' };
65
- const STEP_INTO_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepIntoDebug', "Step Into"), original: 'Step Into' };
66
- const STEP_INTO_TARGET_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepIntoTargetDebug', "Step Into Target"), original: 'Step Into Target' };
67
- const STEP_OUT_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stepOutDebug', "Step Out"), original: 'Step Out' };
68
- const PAUSE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'pauseDebug', "Pause"), original: 'Pause' };
69
- const DISCONNECT_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'disconnect', "Disconnect"), original: 'Disconnect' };
70
- const DISCONNECT_AND_SUSPEND_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'disconnectSuspend', "Disconnect and Suspend"), original: 'Disconnect and Suspend' };
71
- const STOP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stop', "Stop"), original: 'Stop' };
72
- const CONTINUE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'continueDebug', "Continue"), original: 'Continue' };
73
- const FOCUS_SESSION_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'focusSession', "Focus Session"), original: 'Focus Session' };
74
- const SELECT_AND_START_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectAndStartDebugging', "Select and Start Debugging"), original: 'Select and Start Debugging' };
75
- const DEBUG_CONFIGURE_LABEL = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'openLaunchJson', "Open '{0}'", 'launch.json');
76
- ({ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'startDebug', "Start Debugging"), original: 'Start Debugging' });
77
- ({ value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'startWithoutDebugging', "Start Without Debugging"), original: 'Start Without Debugging' });
78
- const NEXT_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'nextDebugConsole', "Focus Next Debug Console"), original: 'Focus Next Debug Console' };
79
- const PREV_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'prevDebugConsole', "Focus Previous Debug Console"), original: 'Focus Previous Debug Console' };
80
- const OPEN_LOADED_SCRIPTS_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'openLoadedScript', "Open Loaded Script..."), original: 'Open Loaded Script...' };
81
- const CALLSTACK_TOP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackTop', "Navigate to Top of Call Stack"), original: 'Navigate to Top of Call Stack' };
82
- const CALLSTACK_BOTTOM_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackBottom', "Navigate to Bottom of Call Stack"), original: 'Navigate to Bottom of Call Stack' };
83
- const CALLSTACK_UP_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackUp', "Navigate Up Call Stack"), original: 'Navigate Up Call Stack' };
84
- const CALLSTACK_DOWN_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'callStackDown', "Navigate Down Call Stack"), original: 'Navigate Down Call Stack' };
85
- const SELECT_DEBUG_CONSOLE_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectDebugConsole', "Select Debug Console"), original: 'Select Debug Console' };
86
- const SELECT_DEBUG_SESSION_LABEL = { value: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'selectDebugSession', "Select Debug Session"), original: 'Select Debug Session' };
61
+ const DEBUG_COMMAND_CATEGORY = { original: 'Debug', value: ( nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'debug', 'Debug')) };
62
+ const RESTART_LABEL = { value: ( nls.localizeWithPath(
63
+ 'vs/workbench/contrib/debug/browser/debugCommands',
64
+ 'restartDebug',
65
+ "Restart"
66
+ )), original: 'Restart' };
67
+ const STEP_OVER_LABEL = { value: ( nls.localizeWithPath(
68
+ 'vs/workbench/contrib/debug/browser/debugCommands',
69
+ 'stepOverDebug',
70
+ "Step Over"
71
+ )), original: 'Step Over' };
72
+ const STEP_INTO_LABEL = { value: ( nls.localizeWithPath(
73
+ 'vs/workbench/contrib/debug/browser/debugCommands',
74
+ 'stepIntoDebug',
75
+ "Step Into"
76
+ )), original: 'Step Into' };
77
+ const STEP_INTO_TARGET_LABEL = { value: ( nls.localizeWithPath(
78
+ 'vs/workbench/contrib/debug/browser/debugCommands',
79
+ 'stepIntoTargetDebug',
80
+ "Step Into Target"
81
+ )), original: 'Step Into Target' };
82
+ const STEP_OUT_LABEL = { value: ( nls.localizeWithPath(
83
+ 'vs/workbench/contrib/debug/browser/debugCommands',
84
+ 'stepOutDebug',
85
+ "Step Out"
86
+ )), original: 'Step Out' };
87
+ const PAUSE_LABEL = { value: ( nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'pauseDebug', "Pause")), original: 'Pause' };
88
+ const DISCONNECT_LABEL = { value: ( nls.localizeWithPath(
89
+ 'vs/workbench/contrib/debug/browser/debugCommands',
90
+ 'disconnect',
91
+ "Disconnect"
92
+ )), original: 'Disconnect' };
93
+ const DISCONNECT_AND_SUSPEND_LABEL = { value: ( nls.localizeWithPath(
94
+ 'vs/workbench/contrib/debug/browser/debugCommands',
95
+ 'disconnectSuspend',
96
+ "Disconnect and Suspend"
97
+ )), original: 'Disconnect and Suspend' };
98
+ const STOP_LABEL = { value: ( nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'stop', "Stop")), original: 'Stop' };
99
+ const CONTINUE_LABEL = { value: ( nls.localizeWithPath(
100
+ 'vs/workbench/contrib/debug/browser/debugCommands',
101
+ 'continueDebug',
102
+ "Continue"
103
+ )), original: 'Continue' };
104
+ const FOCUS_SESSION_LABEL = { value: ( nls.localizeWithPath(
105
+ 'vs/workbench/contrib/debug/browser/debugCommands',
106
+ 'focusSession',
107
+ "Focus Session"
108
+ )), original: 'Focus Session' };
109
+ const SELECT_AND_START_LABEL = { value: ( nls.localizeWithPath(
110
+ 'vs/workbench/contrib/debug/browser/debugCommands',
111
+ 'selectAndStartDebugging',
112
+ "Select and Start Debugging"
113
+ )), original: 'Select and Start Debugging' };
114
+ const DEBUG_CONFIGURE_LABEL = ( nls.localizeWithPath(
115
+ 'vs/workbench/contrib/debug/browser/debugCommands',
116
+ 'openLaunchJson',
117
+ "Open '{0}'",
118
+ 'launch.json'
119
+ ));
120
+ const NEXT_DEBUG_CONSOLE_LABEL = { value: ( nls.localizeWithPath(
121
+ 'vs/workbench/contrib/debug/browser/debugCommands',
122
+ 'nextDebugConsole',
123
+ "Focus Next Debug Console"
124
+ )), original: 'Focus Next Debug Console' };
125
+ const PREV_DEBUG_CONSOLE_LABEL = { value: ( nls.localizeWithPath(
126
+ 'vs/workbench/contrib/debug/browser/debugCommands',
127
+ 'prevDebugConsole',
128
+ "Focus Previous Debug Console"
129
+ )), original: 'Focus Previous Debug Console' };
130
+ const OPEN_LOADED_SCRIPTS_LABEL = { value: ( nls.localizeWithPath(
131
+ 'vs/workbench/contrib/debug/browser/debugCommands',
132
+ 'openLoadedScript',
133
+ "Open Loaded Script..."
134
+ )), original: 'Open Loaded Script...' };
135
+ const CALLSTACK_TOP_LABEL = { value: ( nls.localizeWithPath(
136
+ 'vs/workbench/contrib/debug/browser/debugCommands',
137
+ 'callStackTop',
138
+ "Navigate to Top of Call Stack"
139
+ )), original: 'Navigate to Top of Call Stack' };
140
+ const CALLSTACK_BOTTOM_LABEL = { value: ( nls.localizeWithPath(
141
+ 'vs/workbench/contrib/debug/browser/debugCommands',
142
+ 'callStackBottom',
143
+ "Navigate to Bottom of Call Stack"
144
+ )), original: 'Navigate to Bottom of Call Stack' };
145
+ const CALLSTACK_UP_LABEL = { value: ( nls.localizeWithPath(
146
+ 'vs/workbench/contrib/debug/browser/debugCommands',
147
+ 'callStackUp',
148
+ "Navigate Up Call Stack"
149
+ )), original: 'Navigate Up Call Stack' };
150
+ const CALLSTACK_DOWN_LABEL = { value: ( nls.localizeWithPath(
151
+ 'vs/workbench/contrib/debug/browser/debugCommands',
152
+ 'callStackDown',
153
+ "Navigate Down Call Stack"
154
+ )), original: 'Navigate Down Call Stack' };
155
+ const SELECT_DEBUG_CONSOLE_LABEL = { value: ( nls.localizeWithPath(
156
+ 'vs/workbench/contrib/debug/browser/debugCommands',
157
+ 'selectDebugConsole',
158
+ "Select Debug Console"
159
+ )), original: 'Select Debug Console' };
160
+ const SELECT_DEBUG_SESSION_LABEL = { value: ( nls.localizeWithPath(
161
+ 'vs/workbench/contrib/debug/browser/debugCommands',
162
+ 'selectDebugSession',
163
+ "Select Debug Session"
164
+ )), original: 'Select Debug Session' };
87
165
  const DEBUG_QUICK_ACCESS_PREFIX = 'debug ';
88
166
  const DEBUG_CONSOLE_QUICK_ACCESS_PREFIX = 'debug consoles ';
89
167
  function isThreadContext(obj) {
@@ -304,7 +382,11 @@ CommandsRegistry.registerCommand({
304
382
  let id = targets[0].id;
305
383
  if (targets.length > 1) {
306
384
  const picks = ( targets.map(t => ({ label: t.label, _id: t.id })));
307
- const pick = await quickInputService.pick(picks, { placeHolder: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'chooseLocation', "Choose the specific location") });
385
+ const pick = await quickInputService.pick(picks, { placeHolder: ( nls.localizeWithPath(
386
+ 'vs/workbench/contrib/debug/browser/debugCommands',
387
+ 'chooseLocation',
388
+ "Choose the specific location"
389
+ )) });
308
390
  if (!pick) {
309
391
  return;
310
392
  }
@@ -314,7 +396,11 @@ CommandsRegistry.registerCommand({
314
396
  }
315
397
  }
316
398
  }
317
- return notificationService.warn(nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'noExecutableCode', "No executable code is associated at the current cursor position."));
399
+ return notificationService.warn(( nls.localizeWithPath(
400
+ 'vs/workbench/contrib/debug/browser/debugCommands',
401
+ 'noExecutableCode',
402
+ "No executable code is associated at the current cursor position."
403
+ )));
318
404
  }
319
405
  });
320
406
  CommandsRegistry.registerCommand({
@@ -348,7 +434,11 @@ CommandsRegistry.registerCommand({
348
434
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
349
435
  command: {
350
436
  id: JUMP_TO_CURSOR_ID,
351
- title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'jumpToCursor', "Jump to Cursor"),
437
+ title: ( nls.localizeWithPath(
438
+ 'vs/workbench/contrib/debug/browser/debugCommands',
439
+ 'jumpToCursor',
440
+ "Jump to Cursor"
441
+ )),
352
442
  category: DEBUG_COMMAND_CATEGORY
353
443
  },
354
444
  when: ( ContextKeyExpr.and(CONTEXT_JUMP_TO_CURSOR_SUPPORTED, EditorContextKeys.editorTextFocus)),
@@ -509,7 +599,11 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
509
599
  qp.items = targets?.map(target => ({ target, label: target.label }));
510
600
  }
511
601
  else {
512
- qp.placeholder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'editor.debug.action.stepIntoTargets.none', "No step targets available");
602
+ qp.placeholder = ( nls.localizeWithPath(
603
+ 'vs/workbench/contrib/debug/browser/debugCommands',
604
+ 'editor.debug.action.stepIntoTargets.none',
605
+ "No step targets available"
606
+ ));
513
607
  }
514
608
  });
515
609
  }
@@ -813,7 +907,11 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
813
907
  MenuRegistry.appendMenuItem(MenuId.EditorContext, {
814
908
  command: {
815
909
  id: TOGGLE_INLINE_BREAKPOINT_ID,
816
- title: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugCommands', 'addInlineBreakpoint', "Add Inline Breakpoint"),
910
+ title: ( nls.localizeWithPath(
911
+ 'vs/workbench/contrib/debug/browser/debugCommands',
912
+ 'addInlineBreakpoint',
913
+ "Add Inline Breakpoint"
914
+ )),
817
915
  category: DEBUG_COMMAND_CATEGORY
818
916
  },
819
917
  when: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( PanelFocusContext.toNegated()), EditorContextKeys.editorTextFocus)),
@@ -839,4 +937,4 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
839
937
  }
840
938
  });
841
939
 
842
- export { ADD_CONFIGURATION_ID, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTINUE_ID, CONTINUE_LABEL, COPY_STACK_TRACE_ID, DEBUG_COMMAND_CATEGORY, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, DEBUG_QUICK_ACCESS_PREFIX, DEBUG_RUN_COMMAND_ID, DEBUG_START_COMMAND_ID, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, EDIT_EXPRESSION_COMMAND_ID, FOCUS_REPL_ID, FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, JUMP_TO_CURSOR_ID, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, OPEN_LOADED_SCRIPTS_LABEL, PAUSE_ID, PAUSE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, REMOVE_EXPRESSION_COMMAND_ID, RESTART_FRAME_ID, RESTART_LABEL, RESTART_SESSION_ID, REVERSE_CONTINUE_ID, SELECT_AND_START_ID, SELECT_AND_START_LABEL, SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, SET_EXPRESSION_COMMAND_ID, SHOW_LOADED_SCRIPTS_ID, STEP_BACK_ID, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STOP_ID, STOP_LABEL, TERMINATE_THREAD_ID, TOGGLE_INLINE_BREAKPOINT_ID };
940
+ export { ADD_CONFIGURATION_ID, CALLSTACK_BOTTOM_ID, CALLSTACK_BOTTOM_LABEL, CALLSTACK_DOWN_ID, CALLSTACK_DOWN_LABEL, CALLSTACK_TOP_ID, CALLSTACK_TOP_LABEL, CALLSTACK_UP_ID, CALLSTACK_UP_LABEL, CONTINUE_ID, CONTINUE_LABEL, COPY_STACK_TRACE_ID, DEBUG_COMMAND_CATEGORY, DEBUG_CONFIGURE_COMMAND_ID, DEBUG_CONFIGURE_LABEL, DEBUG_CONSOLE_QUICK_ACCESS_PREFIX, DEBUG_QUICK_ACCESS_PREFIX, DEBUG_START_COMMAND_ID, DISCONNECT_AND_SUSPEND_ID, DISCONNECT_AND_SUSPEND_LABEL, DISCONNECT_ID, DISCONNECT_LABEL, EDIT_EXPRESSION_COMMAND_ID, FOCUS_REPL_ID, FOCUS_SESSION_ID, FOCUS_SESSION_LABEL, JUMP_TO_CURSOR_ID, NEXT_DEBUG_CONSOLE_ID, NEXT_DEBUG_CONSOLE_LABEL, OPEN_LOADED_SCRIPTS_LABEL, PAUSE_ID, PAUSE_LABEL, PREV_DEBUG_CONSOLE_ID, PREV_DEBUG_CONSOLE_LABEL, REMOVE_EXPRESSION_COMMAND_ID, RESTART_FRAME_ID, RESTART_LABEL, RESTART_SESSION_ID, REVERSE_CONTINUE_ID, SELECT_AND_START_ID, SELECT_AND_START_LABEL, SELECT_DEBUG_CONSOLE_ID, SELECT_DEBUG_CONSOLE_LABEL, SELECT_DEBUG_SESSION_ID, SELECT_DEBUG_SESSION_LABEL, SET_EXPRESSION_COMMAND_ID, SHOW_LOADED_SCRIPTS_ID, STEP_BACK_ID, STEP_INTO_ID, STEP_INTO_LABEL, STEP_INTO_TARGET_ID, STEP_INTO_TARGET_LABEL, STEP_OUT_ID, STEP_OUT_LABEL, STEP_OVER_ID, STEP_OVER_LABEL, STOP_ID, STOP_LABEL, TERMINATE_THREAD_ID, TOGGLE_INLINE_BREAKPOINT_ID };
@@ -175,7 +175,11 @@ let ConfigurationManager = class ConfigurationManager {
175
175
  config,
176
176
  buttons: [{
177
177
  iconClass: ThemeIcon.asClassName(debugConfigure),
178
- tooltip: nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'editLaunchConfig', "Edit Debug Configuration in launch.json")
178
+ tooltip: ( nls.localizeWithPath(
179
+ 'vs/workbench/contrib/debug/browser/debugConfigurationManager',
180
+ 'editLaunchConfig',
181
+ "Edit Debug Configuration in launch.json"
182
+ ))
179
183
  }],
180
184
  launch
181
185
  })))));
@@ -184,7 +188,11 @@ let ConfigurationManager = class ConfigurationManager {
184
188
  const disposables = ( new DisposableStore());
185
189
  const input = disposables.add(this.quickInputService.createQuickPick());
186
190
  input.busy = true;
187
- input.placeholder = nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'selectConfiguration', "Select Launch Configuration");
191
+ input.placeholder = ( nls.localizeWithPath(
192
+ 'vs/workbench/contrib/debug/browser/debugConfigurationManager',
193
+ 'selectConfiguration',
194
+ "Select Launch Configuration"
195
+ ));
188
196
  const chosenPromise = ( new Promise(resolve => {
189
197
  disposables.add(input.onDidAccept(() => resolve(input.activeItems[0])));
190
198
  disposables.add(input.onDidTriggerItemButton(async (context) => {
@@ -553,7 +561,11 @@ let WorkspaceLaunch = class WorkspaceLaunch extends AbstractLaunch {
553
561
  return this.contextService.getWorkspace().configuration;
554
562
  }
555
563
  get name() {
556
- return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'workspace', "workspace");
564
+ return ( nls.localizeWithPath(
565
+ 'vs/workbench/contrib/debug/browser/debugConfigurationManager',
566
+ 'workspace',
567
+ "workspace"
568
+ ));
557
569
  }
558
570
  getConfig() {
559
571
  return this.configurationService.inspect('launch').workspaceValue;
@@ -597,7 +609,11 @@ let UserLaunch = class UserLaunch extends AbstractLaunch {
597
609
  return this.preferencesService.userSettingsResource;
598
610
  }
599
611
  get name() {
600
- return nls.localizeWithPath('vs/workbench/contrib/debug/browser/debugConfigurationManager', 'user settings', "user settings");
612
+ return ( nls.localizeWithPath(
613
+ 'vs/workbench/contrib/debug/browser/debugConfigurationManager',
614
+ 'user settings',
615
+ "user settings"
616
+ ));
601
617
  }
602
618
  get hidden() {
603
619
  return true;
@@ -25,7 +25,11 @@ let DebugConsoleQuickAccess = class DebugConsoleQuickAccess extends PickerQuickA
25
25
  if (debugConsolePicks.length > 0) {
26
26
  debugConsolePicks.push({ type: 'separator' });
27
27
  }
28
- const createTerminalLabel = localizeWithPath('vs/workbench/contrib/debug/browser/debugConsoleQuickAccess', "workbench.action.debug.startDebug", "Start a New Debug Session");
28
+ const createTerminalLabel = ( localizeWithPath(
29
+ 'vs/workbench/contrib/debug/browser/debugConsoleQuickAccess',
30
+ "workbench.action.debug.startDebug",
31
+ "Start a New Debug Session"
32
+ ));
29
33
  debugConsolePicks.push({
30
34
  label: `$(plus) ${createTerminalLabel}`,
31
35
  ariaLabel: createTerminalLabel,