What is the run / debug configuration for a set of starters in webstorm

I'm new to the starter kit , so it's hard for me to understand the correct debugging configuration in webstorm to get the starter project working.

Usually I just install the javascript node file (e.g. server.js) and run it. However, with the starter kit, it seems that there is enough pre-processing and some indirection in the start-up process. I can run it with npm starting, but this does not translate into a debug configuration for webstorm.

https://www.dropbox.com/s/9slt5hf0ogzwixy/Screenshot%202015-10 -15% 2008.13.57.png

And the npm start command is this: "start": "babel-node --eval \"require('./tools/start')().catch(err => console.error(err.stack))\""

Do I have to add some of them before running the scripts, and then just specify the js launch file for the / server.js build?

+4
source share

Source: https://habr.com/ru/post/1611783/


All Articles