microsoft / microsoft/vscode-python-debugger

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

Đang mở
#896 6 bình luận 0 reaction 1 người được giao Xem trên GitHub

@karthiknadig đang làm issue này rồi.

Từ ngày 30/4/2025.

feature-request triage-needed
Ngôn ngữ chính
TypeScript
Star
181
Fork
126
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.