Skip to content

Commit 4fe41f9

Browse files
committed
fix bug with env var conflict
1 parent 500cedc commit 4fe41f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#! /bin/bash
22
# Bash script
3+
export DEBUGPY_ADAPTER_ENDPOINTS=$VSCODE_DEBUGPY_ADAPTER_ENDPOINTS
34
python3 $BUNDLED_DEBUGPY_PATH --listen 0 --wait-for-client $@

src/extension/noConfigDebugInit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function registerNoConfigDebug(
6868
collection.replace('PYDEVD_DISABLE_FILE_VALIDATION', '1');
6969

7070
// Add env vars for DEBUGPY_ADAPTER_ENDPOINTS, BUNDLED_DEBUGPY_PATH, and PATH
71-
collection.replace('DEBUGPY_ADAPTER_ENDPOINTS', tempFilePath);
71+
collection.replace('VSCODE_DEBUGPY_ADAPTER_ENDPOINTS', tempFilePath);
7272

7373
const noConfigScriptsDir = path.join(extPath, 'bundled', 'scripts', 'noConfigScripts');
7474
const pathSeparator = process.platform === 'win32' ? ';' : ':';

0 commit comments

Comments
 (0)