Skip to content

Enable 'envFile' for cppdbg#3723

Merged
WardenGnaw merged 7 commits intomicrosoft:masterfrom
WardenGnaw:dev/waan/envFileCppdbg
Jun 11, 2019
Merged

Enable 'envFile' for cppdbg#3723
WardenGnaw merged 7 commits intomicrosoft:masterfrom
WardenGnaw:dev/waan/envFileCppdbg

Conversation

@WardenGnaw
Copy link
Copy Markdown
Member

This PR allows the cppdbg configuration to set environment variables
via a envFile.

Example:
ENVIRONMENT_VAR_1=Hello
ENVIRONMENT_VAR_2=15

This PR allows the cppdbg configuration to set environment variables
via a envFile.

Example:
ENVIRONMENT_VAR_1=Hello
ENVIRONMENT_VAR_2=15
@WardenGnaw WardenGnaw requested a review from pieandcakes June 3, 2019 17:54
@WardenGnaw WardenGnaw self-assigned this Jun 3, 2019
Comment thread Extension/package.json Outdated
Comment thread Extension/package.json Outdated
@polyval
Copy link
Copy Markdown

polyval commented Jun 4, 2019

@WardenGnaw why ‘envFile’ is not supported at gdb pipe attach configuration, I want to pass some local system environment variables to fill in the configuration. Such as the remote ip、password and program。Since this environment variables are generated after VSCode started, VSCode cannot get these refreshed environment variables unless I restarted it. Do you know any workaround to achieve this.

@WardenGnaw
Copy link
Copy Markdown
Member Author

@polyval Can you make this an issue at https://github.com/microsoft/vscode-cpptools/issues? That would be another feature request.

@WardenGnaw WardenGnaw merged commit dacfe08 into microsoft:master Jun 11, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 12, 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