protected function processConfig(array $config)
    {
        $config['command_factory'] = self::defaultCommandFactory($this->getDescription());

        // we'll add our own patched processor after this
        parent::processConfig(
            array_merge(
                $config,
                [
                    'process' => false,
                ]
            )
        );

        if (!isset($config['process']) || $config['process'] === true) {
            $this->getEmitter()->attach(
                new ProcessResponse(
                    isset($config['debug']) ? $config['debug'] : false,
                    isset($config['response_locations']) ? $config['response_locations'] : []
                )
            );
        }
    }