In many of my applications I use the NPM package.json
to manage my build tools. I've found that one of the modules probably has a bug. I'd like to debug it but I don't know how to debug the application in the context of the build task.
Specifically, in this case, I'm using Ember-cli. Ember-cli has a build command: ember build
that builds the app using a bunch of modules defined in package.json
such as ember-cli-compass-compiler
.
I want to be able to add breakpoints or some sort of logging at certain points of the ember-cli-compass-compiler
module that are triggered when the build runs so that I can inspect values.