Skip to content

Allow defining environment variables for the launched application #98

@albel727

Description

@albel727

It would be great, if one could have e.g. "env": { "variable1" : "value1" } section in launch.json at least for "request": "launch" kind of debugging, so that environment variables could be specified for the launched process to be debugged.

It's a dealbreaker to not have this capability, because I need to change env-vars very often during development. In particular, Rust executables love to depend on RUST_LOG, RUST_BACKTRACE and suchlike variables for debug-related output setup, which needs to be changed as often as from run to run sometimes.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions