Skip to content

Provide standardized way on how env variables override .env #1724

@iddan

Description

@iddan

Environment data

  • VS Code version: 1.23.1
  • Extension version (available under the Extensions sidebar): 2018.4.0
  • OS and version: 10.12.6
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.5
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv

Actual behavior

envFile variables override launch.json env variables

Expected behavior

launch.json env variables override envFile variables

Steps to reproduce:

  • Define envFile with a variable
  • Define an env variable in launch.json with the same name
  • Run a script

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-debuggingarea-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityneeds PRReady to be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions