WebStorm your Node app!
This is a simple tutorial on how to get started with Node.JS development in WebStorm 3.0 EAP. The same steps apply for PhpStorm 3.0 EAP or IntelliJ IDEA 11 EAP with Node.JS plugin installed.
This setting is needed for completion, validation and debugging of standard NodeJS symbols.
There are several ways to run or debug Node.JS app script. The easiest way to start is right from the editor popup menu:
Run / debug parameters can be tweaked for the created run configuration. Although NodeJS path is auto-detected, it’s possible to change it by editing the “Default” configuration.
After you’ve run the correctly created configuration, it is possible to debug Node app using breakpoints, stepping, expressions evaluation, etc.
WebStorm is aware of CommonJS module structure and suggests proper auto completion options:
Develop your Node.JS applications with pleasure!
Download WebStorm for your platform from this project EAP page.