wrap ember-debug.js to ensure execution at the correct time