microsoft / microsoft/vscode-python-debugger
Environment variable definitions file substitution does not work when debugging a Python file
Aperta
@karthiknadig ci sta già lavorando.
Dal 8/8/2024.
bug
needs PR
- Lingua principale
- TypeScript
- Stelle
- 180
- Fork
- 126
- Merge medio
- 2g 3h
- PR unite (30g)
- 3
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.