I'll-Be-Back
I'll-Be-Back

Reputation: 10838

Run node.js app remotely on WebStorm?

I have node.js installed on Vagrant and WebStorm access to a project on shared folder via VirtualBox.

Can I run node.js application on WebStorm and see the output on WebStorm (Terminal or SSH)? At the moment I have to keep switching to Putty to run it to see the output, its gets quite tiring.

Upvotes: 3

Views: 1184

Answers (2)

steampowered
steampowered

Reputation: 12062

This feature is available through ssh on Webstorm 2017.1

Scroll down to Configuring a remote Node.js interpreter on a host accessible through SSH connection in the link below:

https://www.jetbrains.com/help/webstorm/configuring-node-js-interpreters.html

Upvotes: 0

lena
lena

Reputation: 93868

Running Node.js applications remotely is not currently supported, please follow WEB-6136 for updates. Debugging remote applications is possible (using Node.js Remote Debug run configuration - see https://confluence.jetbrains.com/display/WI/Running+and+debugging+Node.js+application#RunninganddebuggingNode.jsapplication-DebuggingNode.jsappthatrunsremotely). But you can't see the remote process output in WebStorm console, as Stdout of it is not accessible via debug protocol WebStorm uses for remote debugging. Related feature request: WEB-17013

Upvotes: 1

Related Questions