Correct self.console.debug to self.debug