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

Commitfe85f97

Browse files
Fix missing note about debug.dump_destination
1 parente2d4986 commitfe85f97

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎components/var_dumper/introduction.rst‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,19 @@ original value. You can configure the limits in terms of:
104104
* maximum number of items to dump,
105105
* maximum string length before truncation.
106106

107+
Since dumping in the toolbar is not always possible - e.g. when working on a
108+
JSON API - you can have an alternate output destination for dumps. This is
109+
configurable with the ``debug.dump_destination``, that you can typically set to
110+
``php://stderr``.
111+
107112
..configuration-block::
108113

109114
..code-block::yaml
110115
111116
debug:
112117
max_items:250
113118
max_string_length:-1
119+
dump_destination:null
114120
115121
..code-block::xml
116122
@@ -119,7 +125,7 @@ original value. You can configure the limits in terms of:
119125
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
120126
xsi:schemaLocation="http://symfony.com/schema/dic/debug http://symfony.com/schema/dic/debug/debug-1.0.xsd">
121127
122-
<configmax-items="250"max-string-length="-1" />
128+
<configmax-items="250"max-string-length="-1"dump-destination="null"/>
123129
</container>
124130
125131
Dump Examples and Output

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp