Skip to content

Azure ML Remote writes ESC[?2004l into python.defaultInterpreterPath #2680

Description

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!
Image

Steps to Reproduce the Problem

  1. Launch a job on Azure ML GPU cluster (I've used amulet),
  2. Wait for it the status=Running, then click "Debug and Monitor > VSCode" on the azure ML portal/dashboard
  3. 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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions