Update bugs.js
Move debugger client to the core