updated: debug.js