How to configure WebStorm to debug meteor server files?

后端 未结 1 2020
眼角桃花
眼角桃花 2021-02-03 14:23

How can I configure webstorm to debug meteor server files?

1条回答
  •  春和景丽
    2021-02-03 14:49

    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

    0 讨论(0)
提交回复
热议问题