Do not assume `console.debug()` is defined
Changed the API completely to allow chaining