Ideally, hook into the new Module code as well as onResourceLoad, to show what was requested/known and what got executed. Call out circular dependencies. Do a pretty graph. https://github.com/pahen/node-madge might be good to consult, but do something that can be generated in the browser.