microsoft / microsoft/vscode-python-debugger

Debugging leaves terminal in conda's Base environment instead of selected (interpreter's) conda environment

Aperta
#896 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@karthiknadig ci sta già lavorando.

Dal 30/4/2025.

feature-request triage-needed
Lingua principale
TypeScript
Stelle
180
Fork
126
Merge medio
2g 3h
PR unite (30g)
3

Descrizione

Steps to Reproduce:

  1. I am debugging my (pytest) test using Testing > select test > Debug Test GUI.
  2. Test is executing
  3. After test finishes it leaves terminal in Base conda environment instead of selected (interpreter's) environment.

As I end up in base environment, sometimes I execute poetry install which installs current project's dependencies in base environment. Sometimes I run pytest in base environment but it is not installed there and so on.

After interpreter is selected, whatever we do, we should do it inside that selected environment.
Any terminal windows that are opening during any process should use selected environment.
We should never end up in terminal in Base conda's environment.

VS Code Version:
Version: 1.99.3 (user setup)
Commit: https://github.com/microsoft/vscode/commit/17baf841131aa23349f217ca7c570c76ee87b957
Date: 2025-04-15T23:18:46.076Z
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045, connected to remote Ubuntu

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.