src/Leevel/Debug/Provider/Register.php
protected function debug(): void
    {
        $this->container->singleton('debug', function (IContainer $container) {
            return new Debug($container, $container['option']->get('debug\\'));
        });
    }
protected function debug(): void
    {
        $this->container->singleton('debug', function (IContainer $container) {
            return new Debug($container, $container['option']->get('debug\\'));
        });
    }
注册 debug 服务.