How to disable XDebug

Find your php.ini and look for XDebug. Set xdebug autostart to false xdebug.remote_autostart=0 xdebug.remote_enable=0 Disable your profiler xdebug.profiler_enable=0 Note that there can be a performance loss even with xdebug disabled but loaded. To disable loading of the extension itself, you need to comment it in your php.ini. Find an entry looking like this: zend_extension = … Read more

How to get xdebug var_dump to show full object/array

These are configurable variables in php.ini: ; with sane limits xdebug.var_display_max_depth = 10 xdebug.var_display_max_children = 256 xdebug.var_display_max_data = 1024 ; with no limits ; (maximum nesting is 1023) xdebug.var_display_max_depth = -1 xdebug.var_display_max_children = -1 xdebug.var_display_max_data = -1 Of course, these may also be set at runtime via ini_set(), useful if you don’t want to modify … Read more