How can I specify the "App JS file" path correctly

OS X

WebStorm 8.0, build #WS-135.547

I'm trying to run/debug a JS file.

When I try to run my file, this dialog pops up with the highlighted error message...

config_error.jpg
The weird thing is when I run a different JS file in the same directory it executes without an error.

Can someone explain what's going on here and how to correct the error?

Thanks!

E

2 comments

The path to file should be relative to working directory specified above. If this file is located in this directory, just a <file name>.js shopuld be enough
Note that you can create a Node.js Run configuration from file right-click menu if Node.js sources are configured and 'Node.Js Core Modules' library is enabled for the project

0

Ok, yes that works. Thanks for the help.

0

Please sign in to leave a comment.