How to configure WebStorm to debug meteor server files?

meteor, webstorm

Solution

I got it working with PHPStorm. See: WEB-6264 I did have to make a slight modification to the configuration though.

- Install NodeJS plugin from the Plugin Repository

- Create a Node.js Remote Debug run configuration and fill in the fields:

- Host : 127.0.0.1 (host of meteor app running, leave untouched if meteor is running on your local machine)

- Debug port : 5858

- Local directory : /path/to/your/meteor/project

- Remote path : app

- NODE_OPTIONS="--debug" meteor

Problem

How can I configure webstorm to debug meteor server files?

Original source

Related problems