Node environment variables in run configuration

I've been trying to set up a Run Configuration for node with specific environment variables. The Variables themselves show up on process.env, but they are always undefined, regardless of what types of quotes (or none) that I use. Am I missing something basic here? See attached screen shots for my Configuration setup and debugger showing the undefined vars.

 



2 comments
Comment actions Permalink

You don't need quotes... Works fine for me:

 

 

What is your OS? Can you provide a sample project that shows up the issue?

0
Comment actions Permalink

Ok, here's some more info. I retried with a blank project and one file (attached). The environment variables were actually making it through to the code (as they were in my original project - the bug that made me look into this was elsewhere in my code), but the debugger still refuses to show the values. Here's a visual paradox for you:

Sample project, though it's pretty trivial: https://onedrive.live.com/redir?resid=A3B5527A7E031E56!19397&authkey=!AK_v6bg1-qjV-uQ&ithint=file%2czip 

I'm running on Win8.1 64bit, if that adds anything to the discussion.

0

Please sign in to leave a comment.