Debug compiled ES6 nodejs app in WebStorm

前端 未结 5 1975
灰色年华
灰色年华 2020-12-31 05:00

I want to debug a node app that runs from babel compiled ES6 files. I have my ES6 source in an src folder and the babel ES5 equivalent in a b

5条回答
  •  自闭症患者
    2020-12-31 05:45

    adding --inspect flag in the "Node parameters" in the node configuration section solved the issue for me. (additionally to the setting babel-node as node interpreter.

提交回复
热议问题