How to Debug Grunt Mocha Task?

后端 未结 4 1607
名媛妹妹
名媛妹妹 2021-02-08 20:07

I am using WebStorm to run a grunt task. The debugger successfully stops at the breakpoint in the Gruntfile.js file, but not in my task file.

In the Gruntfile.js I regis

4条回答
  •  我寻月下人不归
    2021-02-08 20:49

    Try out grunt-debug-task.

    Its similar to node debugger. Just run the grunt debug taskname

    I tried it out. It breaks sometimes but seems to work.

提交回复
热议问题