complete debugging.js