We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c3f3ba9 + cf7fcc1 commit e3239f4Copy full SHA for e3239f4
reference/configuration/debug.rst
@@ -91,8 +91,13 @@ Typically, you would set this to ``php://stderr``:
91
.. code-block:: php
92
93
// config/packages/debug.php
94
- $container->loadFromExtension('debug', [
95
- 'dump_destination' => 'php://stderr',
96
- ]);
+ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
+
+ return static function (ContainerConfigurator $container): void {
97
+ $container->extension('debug', [
98
+ 'dump_destination' => 'tcp://%env(VAR_DUMPER_SERVER)%',
99
+ ]);
100
+ };
101
102
103
Configure it to ``"tcp://%env(VAR_DUMPER_SERVER)%"`` in order to use the :ref:`ServerDumper feature <var-dumper-dump-server>`.
0 commit comments