microsoft / microsoft/vscode-python-debugger
Environment variable definitions file substitution does not work when debugging a Python file
Đang mở
@karthiknadig đang làm issue này rồi.
Từ ngày 8/8/2024.
bug
needs PR
- Ngôn ngữ chính
- TypeScript
- Star
- 180
- Fork
- 126
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 3
Mô tả
Environment data
- VS Code version: Code 1.34.0 (a622c65b2c713c890fcf4fbf07cf34049d5fe758, 2019-05-15T21:59:37.030Z)
- Extension version (available under the Extensions sidebar): 2019.4.12954
- OS and version: Windows x64 10.0.17763
- Python version (& distribution if applicable, e.g. Anaconda): 3.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Expected behaviour
According to documentation the value of any existing environment variable could be used when defining an environment variables.
Actual behaviour
Value of PATH environment variable is not being substituted.
Steps to reproduce:
- Create
.envfile with a single linePATH="${PATH};Blah-blah-blah". - Print
PATHvalue withprint(os.environ.get('PATH')) ;Blah-blah-blahgets printed.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.