Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to set environment variables. #9

Closed
jyavenard opened this issue Sep 9, 2016 · 4 comments
Closed

Add ability to set environment variables. #9

jyavenard opened this issue Sep 9, 2016 · 4 comments

Comments

@jyavenard
Copy link

It doesn't appear that it's possible to set environment variables.

Having a environment entry that takes a dictionary of name/values like the default mi debugger would be great:

e.g.

            "environment": [
                { "name" : "DYLD_LIBRARY_PATH", "value" : ".:./plugins" },
                { "name" : "LIBRARY_PATH", "value" : ".:./components" },
            ],
@vadimcn
Copy link
Owner

vadimcn commented Sep 9, 2016

Try "env" : { ... } ?

@jyavenard
Copy link
Author

Yes that works. thank you!

Should add that to the doc.
The format is slightly different to the "environment" key used by other configs:
env : {
"key1" : "value1",
"key2" : "value2"
}

@vadimcn
Copy link
Owner

vadimcn commented Sep 9, 2016

I'm confused: it is documented in the readme.

@jyavenard
Copy link
Author

you're right.. my bad... i totally missed it :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants