You are using gulp to automate your build process
If your build process doesn’t do what you want, it’s some times tedious to find out where the problem is. Mostly you can use console.log to see why things are not as you expect.
With Visual Studio Code you can use the build-in debugger to step into your gulp plugins to find out what’s wrong. Visual Studio Code is cross platform and runs on Linux, Mac OS and Windows.
Above a break point at the start of the gulp.js file …
… above a break point inside the gulpfile.js with variable inspection open…
…and a break point inside a gulp plugin, in this case gulp-lintspaces/index.js. Variable inspection, call stack and other debugging features work as expected.
Pretty sweet I would say.