microsoft / microsoft/vscode-python-debugger

Environment variable definitions file substitution does not work when debugging a Python file

Abierto
#159 6 comentarios 0 reacciones 1 asignado Ver en GitHub

@karthiknadig ya está trabajando en esto.

Desde el 8/8/2024.

bug needs PR
Lenguaje dominante
TypeScript
Estrellas
180
Forks
126
Merge medio
2 d 3 h
PR fusionados (30 d)
3

Descripción

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:

  1. Create .env file with a single line PATH="${PATH};Blah-blah-blah".
  2. Print PATH value with print(os.environ.get('PATH'))
  3. ;Blah-blah-blah gets printed.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.