Skip to content

Commit

Permalink
Be more specific with EnvironmentVariableCollection.description (#1762)
Browse files Browse the repository at this point in the history
Fixes #1757
  • Loading branch information
connor4312 authored Jul 21, 2023
1 parent db9e6e0 commit b062809
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/targets/node/autoAttachLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,12 @@ export class AutoAttachLauncher
variables.persistent = true;
variables.description = new vscode.MarkdownString(
l10n.t({
message: 'Enables Node.js [auto attach]({0}) debugging',
comment: "{Locked='[auto attach]({0})'}",
args: ['https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach'],
message: 'Enables Node.js [auto attach]({0}) debugging in "{1}" mode',
comment: ["{Locked='[auto attach]({0})'}", 'the 2nd placeholder is the setting value'],
args: [
'https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach',
autoAttachMode,
],
}),
);
variables.prepend('NODE_OPTIONS', bootloaderEnv.NODE_OPTIONS + ' ');
Expand Down

0 comments on commit b062809

Please sign in to comment.