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"
And here's it running without issue when the environment variables is commented out.
Am I using it wrong or is it a bug?
To access this page, select a project node in Solution Explorer, select Project > Properties from the Visual Studio menu, and then select the Environment Variables tab. Specifies the name of an environment variable that will be used when the project is built or when the project is run from Visual Studio.
On the Windows taskbar, right-click the Windows icon and select System. In the Settings window, under Related Settings, click Advanced system settings. On the Advanced tab, click Environment Variables. Click New to create a new environment variable.
Ctrl+Shift+P and search “Terminal”. In the Terminal window, you can see “conda activate <env>” command already executed, and the terminal is under your conda environment.
You have to set runtimeExecutable.
"runtimeExecutable": "C:/Program Files/nodejs/node.exe"
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With