Add startup debug logging.