environment-variablesvisual-studio-code

Environment variables not working in Microsoft Visual Studio Code?


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

not running

And here's it running without issue when the environment variables is commented out.

running fine

Am I using it wrong or is it a bug?


Solution

  • Update: Visual Studio code 0.3.0 has fixed this.

    Environment variables do not work on Windows and Linux (they work on OS X). I have created a bug on our side and will make sure it’s fixed with the next release.

    Andre Weinand, Visual Studio Code