Node.exe arguments not passed with "Start Debugging"

Feb 24, 2014 at 3:13 PM
I have --harmony specified in Node.exe arguments.

If I do "Start Without Debugging" it is passed to Node.exe.

But if I do "Start Debugging" I see only --debug-brk is passed and my script errors out.

(And annoyingly the console immediately closes so you can't see the error.)

Is there a way to get this to work?
I tried the Alpha and the latest development build.
Feb 24, 2014 at 6:29 PM
This is a known bug, and we are working to fix it for the beta. Unfortunately, there's no workaround short of manually applying the fix and building NTVS with it.
Feb 24, 2014 at 8:01 PM
I was able to work around it by creating a small .cmd file and starting that instead of node.exe:

node --harmony %*
Mar 6, 2014 at 4:19 PM
Edited Mar 6, 2014 at 4:19 PM
The fix was checked in with this change. This will be included in our next release.
Marked as answer by RickWinter on 3/6/2014 at 9:19 AM