Debugging a Gulpfile using a node inspector takes a long time to get started

I am trying to debug gulp tags with node-inspector by doing it as follows

node-debug $(which gulp) build 

and this works, except that my Gulpfile is not .js , but .coffee and for some reason it hangs for almost a minute at the beginning, saying:

Requires script / register external coffee module

It doesn’t last long when I run it normally, and it starts the node inspector almost instantly if I use Gulpfile.js. Why does this take too long when I use Gulpfile.coffee?

This is not a big deal, but a little annoying

+7
coffeescript gulp node-inspector
source share
1 answer

Use node-debug node_modules/gulp/bin/gulp.js build

+1
source share

All Articles