src/Debug/Config.php
private function getCfgAll()
    {
        $cfg = array();
        foreach (\array_keys($this->configKeys) as $classname) {
            if ($classname === 'debug') {
                $cfg['debug'] = $this->cfg;
            } elseif (isset($this->debug->{$classname})) {
                $cfg[$classname] = $this->debug->{$classname}->getCfg();
            } elseif (isset($this->cfgLazy[$classname])) {
                $cfg[$classname] = $this->cfgLazy[$classname];
            }
        }
        return $cfg;
    }
private function getCfgAll()
    {
        $cfg = array();
        foreach (\array_keys($this->configKeys) as $classname) {
            if ($classname === 'debug') {
                $cfg['debug'] = $this->cfg;
            } elseif (isset($this->debug->{$classname})) {
                $cfg[$classname] = $this->debug->{$classname}->getCfg();
            } elseif (isset($this->cfgLazy[$classname])) {
                $cfg[$classname] = $this->cfgLazy[$classname];
            }
        }
        return $cfg;
    }
Get config for debug.
If no path specified, config for debug and dependencies is returned

@return mixed