Skip to content

Conversation

@WardenGnaw
Copy link
Member

This PR allows users to have a .env file that listed as
KEY=VALUE or KEY="VALUE WITH SPACE" to be used as environment variables
when launching a process. Anything that begins with '#' is treated as a
comment. Blank lines are ignored.

This .env file will be used if envFile passed in with the launch.json.
It will also work with the existing environment variable, however
anything listed in the .env file will overwrite anything from the
environment field in the launch.json.

@gregg-miskelly

@WardenGnaw WardenGnaw requested review from a team and pieandcakes April 20, 2019 00:55
@WardenGnaw WardenGnaw self-assigned this Apr 20, 2019
@WardenGnaw
Copy link
Member Author

Addresses #3490

@michelleangela
Copy link
Contributor

Is this targeting 0.23.0-insiders?

@WardenGnaw
Copy link
Member Author

@michelleangela there’s no big rush for this PR

@sean-mcmanus
Copy link
Contributor

@WardenGnaw Can you check this in by our 0.23.0-insiders2 on Friday? We want the next Insiders to be as close to the final release as possible.

This PR allows users to have a .env file that listed as
KEY=VALUE or KEY="VALUE WITH SPACE" to be used as environment variables
when launching a process. Anything that begins with '#' is treated as a
comment. Blank lines are ignored.

This .env file will be used if envFile passed in with the launch.json.
It will also work with the existing environment variable, however
anything listed in the .env file will overwrite anything from the
environment field in the launch.json.
@WardenGnaw WardenGnaw force-pushed the dev/waan/vsdbgEnvFile branch from 2487bee to 826ba4c Compare April 26, 2019 21:44
@WardenGnaw WardenGnaw merged commit 6a88c99 into microsoft:master Apr 26, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants