microsoft / microsoft/vscode-python-debugger
Debugging leaves terminal in conda's Base environment instead of selected (interpreter's) conda environment
@karthiknadig 已经在做这个了。
开始于 2025年4月30日。
- 主要语言
- TypeScript
- 星标
- 180
- 派生
- 126
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 3
描述
Steps to Reproduce:
- I am debugging my (pytest) test using Testing > select test > Debug Test GUI.
- Test is executing
- 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。