10000 merged branch Marmelatze/var_dump (PR #5291) · lchenay/symfony@1f37191 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f37191

Browse files
committed
merged branch Marmelatze/var_dump (PR symfony#5291)
Commits ------- 9c20634 fixes pre for var_dump with xdebug Discussion ---------- Displaying var_dump with xdebug in exceptions When debugging code I often use `var_dump` to quickly look into variables. Since 2.1 alle output generated by `var_dump` is displayed in one line. http://screencast.com/t/11LuIlIdHsvP It seems to be no problem for small objects, but it becomes a real pain when displaying huge arrays or objects. This is caused by the changed word-wrapping for the pre tag introduced in symfony#3827 With fix: http://screencast.com/t/GdA3dkpWxU --------------------------------------------------------------------------- by dlsniper at 2012-08-17T17:22:38Z :+1:
2 parents df889fb + 9c20634 commit 1f37191

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/public/css/exception_layout.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,8 @@ pre {
134134
white-space: normal;
135135
font-family: Arial, Helvetica, sans-serif;
136136
}
137+
138+
pre.xdebug-var-dump{
139+
white-space: pre;
140+
font-family: monospace;
141+
}

0 commit comments

Comments
 (0)
0