core.debug.js and .watch