public function withConsoleDebug()
    {
        if (!class_exists(ConsoleLogger::class)) {
            throw new RuntimeException("You need to install 'symfony/console' to use this feature");
        }

        $this->logger = new ConsoleLogger(new ConsoleOutput(), [LogLevel::DEBUG => ConsoleOutput::VERBOSITY_NORMAL]);

        return $this;
    }