运行 node.js WebStorm 上的远程应用程序?

Run node.js app remotely on WebStorm?

我在 Vagrant 和 WebStorm 上安装了 node.js 通过 VirtualBox 访问共享文件夹中的项目。

我可以 运行 node.js 在 WebStorm 上应用并在 WebStorm(终端或 SSH)上查看输出吗?目前我必须不断切换到 Putty 以 运行 它来查看输出,它变得非常累人。

运行 Node.js 目前不支持远程应用,请关注WEB-6136 获取更新。 可以调试远程应用程序(使用 Node.js Remote Debug 运行 配置 - 参见 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

此功能可通过 Webstorm 2017.1 上的 ssh 使用

向下滚动到在可通过 SSH 连接访问的主机上配置远程 Node.js 解释器 在下面的 link 中:

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