add support for debug keyword in the scanner