Use debug module for logging.