Add autoload debug logging.