Expected Behavior
{
"python.defaultInterpreterPath": "/opt/venv/bin/python"
}
Actual Behavior
cat ~/.vscode-server/data/Machine/settings.json
{
"python.defaultInterpreterPath": "\u001b[?2004l\r/opt/venv/bin/python"
}
And we have to manually fix it everytime!

Steps to Reproduce the Problem
- Launch a job on Azure ML GPU cluster (I've used amulet),
- Wait for it the status=Running, then click "Debug and Monitor > VSCode" on the azure ML portal/dashboard
- Wait for vscode to initialize. then check
cat ~/.vscode-server/data/Machine/settings.json
{
"python.defaultInterpreterPath": "\u001b[?2004l\r/opt/venv/bin/python"
}
Or ask the copilot agent to do some python work. It'd ask for setting up python environment. Magically ESC[?2004l was in the default value's prefix, which is invalid.
Specifications
Version: 1.126.0 (user setup)
Commit: 7e7950df89d055b5a378379db9ee14290772148a
Date: 2026-06-23T01:46:13Z
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26200
Expected Behavior
{
"python.defaultInterpreterPath": "/opt/venv/bin/python"
}
Actual Behavior
And we have to manually fix it everytime!

Steps to Reproduce the Problem
Or ask the copilot agent to do some python work. It'd ask for setting up python environment. Magically
ESC[?2004lwas in the default value's prefix, which is invalid.Specifications
Version: 1.126.0 (user setup)
Commit: 7e7950df89d055b5a378379db9ee14290772148a
Date: 2026-06-23T01:46:13Z
Electron: 42.2.0
ElectronBuildId: 14159160
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.26200