From e66f79401394a29bb96edcb008efc438392840c1 Mon Sep 17 00:00:00 2001 From: eleanorjboyd Date: Wed, 22 Jan 2025 14:48:31 -0800 Subject: [PATCH] add in description for no-config debug environment variable edits --- src/extension/noConfigDebugInit.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/extension/noConfigDebugInit.ts b/src/extension/noConfigDebugInit.ts index 3eadf6ba..321ca9af 100644 --- a/src/extension/noConfigDebugInit.ts +++ b/src/extension/noConfigDebugInit.ts @@ -5,7 +5,7 @@ import * as fs from 'fs'; import * as path from 'path'; import * as crypto from 'crypto'; import * as os from 'os'; -import { DebugSessionOptions, Disposable, GlobalEnvironmentVariableCollection, RelativePattern } from 'vscode'; +import { DebugSessionOptions, Disposable, GlobalEnvironmentVariableCollection, l10n, RelativePattern } from 'vscode'; import { createFileSystemWatcher, debugStartDebugging } from './utils'; import { traceError, traceLog, traceVerbose } from './common/log/logging'; @@ -56,6 +56,8 @@ export async function registerNoConfigDebug( const bundledDebugPath = path.join(extPath, 'bundled', 'libs', 'debugpy'); collection.replace('BUNDLED_DEBUGPY_PATH', bundledDebugPath); + envVarCollection.description = l10n.t('Enables use of no-config debugging command in the terminal.'); + // create file system watcher for the debuggerAdapterEndpointFolder for when the communication port is written const fileSystemWatcher = createFileSystemWatcher(new RelativePattern(tempDirPath, '**/*')); const fileCreationEvent = fileSystemWatcher.onDidCreate(async (uri) => {