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 32fd115 commit 7bb3860Copy full SHA for 7bb3860
reference/configuration/debug.rst
@@ -95,8 +95,13 @@ Typically, you would set this to ``php://stderr``:
95
.. code-block:: php
96
97
// config/packages/debug.php
98
- $container->loadFromExtension('debug', [
99
- 'dump_destination' => 'php://stderr',
100
- ]);
+ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
+
+ return static function (ContainerConfigurator $container): void {
101
+ $container->extension('debug', [
102
+ 'dump_destination' => 'tcp://%env(VAR_DUMPER_SERVER)%',
103
+ ]);
104
+ };
105
106
107
Configure it to ``"tcp://%env(VAR_DUMPER_SERVER)%"`` in order to use the :ref:`ServerDumper feature <var-dumper-dump-server>`.
0 commit comments