Broccoli debugging tools
Collection of debugging helpers for Broccoli.
npm install broccoli-debug
--save-dev, this will install broccoli-debug without saving it as a
package.json. You will oftentimes use broccoli-debug as a
transient debugging aid, and not commit it into your repo.
var instrument = require'broccoli-debug'instrument;
tree = instrumentprinttree;
This will print to stderr the location of the
tree files on the file system
tree is rebuilt, so that you can inspect it with
ls. It will
print the error object if building
tree fails. If you do not get any output,
it means that your
tree object isn't being used at all.