Debugging Python code in a venv in WSL always takes two tries
@eleanorjboyd ya está trabajando en esto.
Desde el 4/11/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Testing #859
I'm using an Ubuntu WSL instance with pwsh as the default terminal profile.
When I debug a file with Python and with the Python Environments extension enabled, the terminal first runs the debugger commands, and then it cancels that command and runs the venv enablement command. As a result, the debugger fails to launch. On the second attempt, the debugger successfully runs the file because it is not intercepted by the venv enablement command. It successfully hits the breakpoint.
First attempt
Second attempt
- Lenguaje dominante
- TypeScript
- Estrellas
- 181
- Forks
- 126
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 3
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/vscode-python-debugger
-
triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/vscode-python-debugger#1110 ·
-
triage-needed
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
microsoft/vscode-python-debugger#1024 · 1 comentario ·
-
triage-needed
microsoft/vscode-python-debugger#1111 · 1 reacción · 1 asignado ·
-
triage-needed
microsoft/vscode-python-debugger#1106 · 1 reacción · 2 asignados ·
-
triage-needed
microsoft/vscode-python-debugger#1104 · 1 reacción · 1 asignado ·
Todos los issues de microsoft/vscode-python-debugger
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
dennys-bd/agent-hive#184 ·
-
Add: hunch Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
AbdelStark/awesome-typesafe#104 ·
-
ai-observability bug team/ai-observability
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vicharanashala/fln#563 ·