broccoli-debug

Broccoli debugging tools

broccoli-debug

Collection of debugging helpers for Broccoli.

npm install broccoli-debug

Without --save-dev, this will install broccoli-debug without saving it as a dependency in 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 = instrument.print(tree);

This will print to stderr the location of the tree files on the file system whenever 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.