Environment variables not working in Microsoft Visual Studio code?

Testing the new Microsoft Visual Code Studio. Trying to set some environment variables, and it seems that setting them makes OpenDebug not running. Throws error "OpenDebug process terminated unexpectedly"

not running

And here it works without problems when environment variables are commented out.

running fine

Am I using it incorrectly or is it a mistake?

+7
environment-variables visual-studio-code
Apr 30 '15 at 8:18
source share
3 answers

Update : Visual Studio 0.3.0 code fixed this.

Environment variables do not work on Windows and Linux (they work on OS X). I created an error on our side and make sure that it is fixed with the next version.

Andre Weinand, Visual Studio Code

+6
May 4 '15 at 9:58
source share

You must install runtimeExecutable.

"runtimeExecutable": "C: / Program Files / nodejs / node.exe"

enter image description here

+6
May 02 '15 at 12:04
source share

I solved a similar problem, making sure that I ran the code in administrator mode under Windows - it's worth a try.

+3
May 6 '15 at 12:42
source share



All Articles