open debug mode logging.