Replacing an instance of console.log with Config.debug.