I'm sure this has been asked, there's a lot of noise on similar topics when I search.
I'm trying to run some node commands (in my immediate case "phonegap serve") and WebStorm is balking on the command.
Cannot run program "phonegap" (in directory "C:\......"): CreateProcess error=2, The system cannot find the file specified
The "phonegap" command is included in my environment variables' PATH along with other tools. I don't want to just use the absolute path to "phonegap.exe" because everything else it depends on such as cordova.exe et al needs to be in the path as well. And before we get into phonegap support etc, this is a broader issue that I've had to deal with for other non-nodeJS tools as well.
How do I include the OS environment variables in the "External tools" feature?
Using Windows 7 x64 and WebStorm 9.0.3 which is based on IntelliJ IDEA.