merged branch Marmelatze/var_dump (PR #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 #3827

With fix: http://screencast.com/t/GdA3dkpWxU

---------------------------------------------------------------------------

by dlsniper at 2012-08-17T17:22:38Z

👍
This commit is contained in:
Fabien Potencier 2012-08-18 10:25:33 +02:00
commit 1f37191938
1 changed files with 5 additions and 0 deletions

View File

@ -134,3 +134,8 @@ pre {
white-space: normal;
font-family: Arial, Helvetica, sans-serif;
}
pre.xdebug-var-dump{
white-space: pre;
font-family: monospace;
}