Skip to content

Allow multiple .env files in envFile for debugging #10142

@jordangarside

Description

@jordangarside

Hi there,

Would it be possible to get support for multiple env files when debugging?

// launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python",
      "type": "python",
      "request": "launch",
      "program": "app.py",
      "console": "integratedTerminal",
      "envFile": [
        "${workspaceFolder}/config/environment/base.env",
        "${workspaceFolder}/config/environment/development.env"
      ]
    }
  ]
}

It looks like this was added to vscode-go:
Issue: microsoft/vscode-go#1746
PR: microsoft/vscode-go#2395

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions