Node remote interpreter path mappings
Hi, I think I don't understand how remote interpreters work in Webstorm. I've successfully configured a remote SSH interpreter for my project.
I've set up a run configuration for a file.

The Path Mapping maps my local project to a copy of the same project on the remote server.
When I run this configuration, it fires off the *remote* version of the server.js file. The first line in the run output is:
/usr/bin/node /opt/<remote path>/server.js
Am I wrong to think that I would be able to edit files locally and use the remote node interpreter to run/debug them? Do I need to setup the Deployment section automatically upload files to achieve this?
Thanks!
请先登录再写评论。
You're right, you need to synchronize a remote copy of your project with your local project. For example, setup Deployment in "Settings | Build, Execution, Deployment | Deployment". After that you'l be able to edit files locally and run/debug remotely.