Skip to content

Commit febecdd

Browse files
authored
add in description for no-config debug environment variable edits (#566)
1 parent 86314ba commit febecdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/extension/noConfigDebugInit.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as fs from 'fs';
55
import * as path from 'path';
66
import * as crypto from 'crypto';
77
import * as os from 'os';
8-
import { DebugSessionOptions, Disposable, GlobalEnvironmentVariableCollection, RelativePattern } from 'vscode';
8+
import { DebugSessionOptions, Disposable, GlobalEnvironmentVariableCollection, l10n, RelativePattern } from 'vscode';
99
import { createFileSystemWatcher, debugStartDebugging } from './utils';
1010
import { traceError, traceLog, traceVerbose } from './common/log/logging';
1111

@@ -56,6 +56,8 @@ export async function registerNoConfigDebug(
5656
const bundledDebugPath = path.join(extPath, 'bundled', 'libs', 'debugpy');
5757
collection.replace('BUNDLED_DEBUGPY_PATH', bundledDebugPath);
5858

59+
envVarCollection.description = l10n.t('Enables use of no-config debugging command in the terminal.');
60+
5961
// create file system watcher for the debuggerAdapterEndpointFolder for when the communication port is written
6062
const fileSystemWatcher = createFileSystemWatcher(new RelativePattern(tempDirPath, '**/*'));
6163
const fileCreationEvent = fileSystemWatcher.onDidCreate(async (uri) => {

0 commit comments

Comments
 (0)