Increase var_display_max_depth for xdebug
I recently installed xdebug on my ststem and wanted to increase xdebug.var_display_max_depth from 3 to 10. How can I go about doing that? There are two ways to do that. You can edit this value locally and globally too. Local setting (" Local value ") in your own PHP file: <?php ini_set('xdebug.var_display_max_depth', '10'); // here comes your code... ?> Global setting (" Master value ") in php.ini : First locate your php.ini file. In phpinfo() , you can get to know where it is from "Loaded Configuration File" directive. You can also locate it using command prompt/terminal: Windows: php --ini |