Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bb3860

Browse files
vinceAmstoutzjaviereguiluz
authored andcommitted
Fix debug config reference dump_destination
1 parent32fd115 commit7bb3860

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎reference/configuration/debug.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,13 @@ Typically, you would set this to ``php://stderr``:
9595
..code-block::php
9696
9797
// config/packages/debug.php
98-
$container->loadFromExtension('debug', [
99-
'dump_destination' => 'php://stderr',
100-
]);
98+
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
99+
100+
return static function (ContainerConfigurator $container): void {
101+
$container->extension('debug', [
102+
'dump_destination' => 'tcp://%env(VAR_DUMPER_SERVER)%',
103+
]);
104+
};
105+
101106
102107
Configure it to ``"tcp://%env(VAR_DUMPER_SERVER)%"`` in order to use the:ref:`ServerDumper feature<var-dumper-dump-server>`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp