Search code examples
meteorwebstorm

How to configure WebStorm to debug meteor server files?


How can I configure webstorm to debug meteor server files?


Solution

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

    1. Install NodeJS plugin from the Plugin Repository
    2. 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
    3. NODE_OPTIONS="--debug" meteor