Skip to content

Commit b062809

Browse files
authored
Be more specific with EnvironmentVariableCollection.description (#1762)
Fixes #1757
1 parent db9e6e0 commit b062809

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/targets/node/autoAttachLauncher.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,12 @@ export class AutoAttachLauncher
146146
variables.persistent = true;
147147
variables.description = new vscode.MarkdownString(
148148
l10n.t({
149-
message: 'Enables Node.js [auto attach]({0}) debugging',
150-
comment: "{Locked='[auto attach]({0})'}",
151-
args: ['https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach'],
149+
message: 'Enables Node.js [auto attach]({0}) debugging in "{1}" mode',
150+
comment: ["{Locked='[auto attach]({0})'}", 'the 2nd placeholder is the setting value'],
151+
args: [
152+
'https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_auto-attach',
153+
autoAttachMode,
154+
],
152155
}),
153156
);
154157
variables.prepend('NODE_OPTIONS', bootloaderEnv.NODE_OPTIONS + ' ');

0 commit comments

Comments
 (0)