nette/nette — comment on commit e3a8a1b80a75752983c6c231814416784ec32c91
File:  line 0
By bojovyletoun:

When talking about debugger notation in config, consider how spectify panels to add.
Ie:
Now one can write:

//panel instatiating is resource waste in productionMode
if (!$cfg->productionMode) {
$array = array(
new IncludePanel,
new Nextensions\Stopwatch,
new XDebugHelper,

);
foreach ($array as $value) {
Debugger::$bar->addPanel($value);
}
}

Would it be nice to write:

config.neon:
nette:
debugger:
email: %webmasterEmail%
panels: [ IncludePanel, XDebugHelper ]

?