Mr Coder Mr Coder - 6 months ago 11
PHP Question

Xdebug hiding dump information?

I am using xdebug with my php methods such as var_dump() are beautiful but not showing full information instead the dump ends with three dots

which might be the sign of continuation followed by


How should I tell xdebug to show full dump ??


Xdebug truncates the output of (at least) strings and arrays, to avoid it getting to big.

The amout of data that's printed can be configured using these directives :

For more informations and example, see Variable Display Features

You'll have to edit your php.ini file (or xdebug.ini file, depending on your setup), to define those directives, with values that suit your needs.

For example, on Ubuntu, in my /etc/php5/conf.d/xdebug.ini file, I have the following lines :

xdebug.var_display_max_children = 256
xdebug.var_display_max_data = 2048
xdebug.var_display_max_depth = 8