That should be `debug.console` - `console` here resolves to `window.console`.