Xdebug Display Full Details on var_dump()

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

Xdebug is an excellent addition to a PHP developers arsenal. However when debugging large arrays etc, the truncating can get in the way.

To stop Xdebug truncating arrays etc when you dump them using var_dump, just make these two additions to your php.ini file:


xdebug.var_display_max_data=9999999999
xdebug.var_display_max_children=9999999999

For a fuller explanation of Xdebug check out this article


Tags: edmondscommerce