Add basic debug log.