We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b61df0 commit 6bb41d0Copy full SHA for 6bb41d0
DebugBundle.php
@@ -27,8 +27,10 @@ public function boot()
27
$container = $this->container;
28
29
// This code is here to lazy load the dump stack. This default
30
- // configuration for CLI mode is overridden in HTTP mode on
31
- // 'kernel.request' event
+ // configuration is overridden in CLI mode on 'console.command' event.
+ // The dump data collector is used by default, so dump output is sent to
32
+ // the WDT. In a CLI context, if dump is used too soon, the data collector
33
+ // will buffer it, and release it at the end of the script.
34
VarDumper::setHandler(function ($var) use ($container) {
35
$dumper = $container->get('data_collector.dump');
36
$cloner = $container->get('var_dumper.cloner');
0 commit comments