Skip to content

Spaces in venv path prevents debugging #1497

@merll002

Description

@merll002

Environment data

  • Python Environments extension version: 1.28.0
  • Python extension (ms-python.python) version: 2026.4.0
  • VS Code version (Help → About): 1.117.0
  • OS and version: Windows 11 and Linux (potentially macOS as well)
  • Python version: 3.13
  • Environment manager in use: venv
  • Workspace type: single folder

Steps to reproduce

  1. Install python environments extension
  2. Open folder in vscode containing spaces in path
  3. Create/select environment in directory
  4. Attempt to debug.

Expected behavior

Debugger works fine

Actual behavior

Debugger exits after around 1s

Logs

No useful information or errors from trace logs.

Example

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions