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

netbeans shows “Waiting For Connection (netbeans-xdebug)”

Have you rectified the issue ? If not then please try this. 1.) php.ini file content [xDebug] zend_extension = “c:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll” xdebug.remote_autostart=on xdebug.remote_enable=on xdebug.remote_enable=1 xdebug.remote_handler=”dbgp” ;xdebug.remote_host=”localhost:81″ xdebug.remote_host=192.168.1.5 ;xdebug.remote_connect_back=1 xdebug.remote_port=9000 xdebug.remote_mode=req xdebug.idekey=”netbeans-xdebug” xdebug.remote_host=192.168.1.5 – This is the IPv4 address of my system, I changed to this because I couldn’t debug with localhost and 127.0.0.1. in NetBeans IDE, … Read more

XDebug and RESTful server using PHPStorm or POSTman

You can use one of these approaches: Configure your Xdebug (by editing php.ini) to attempt to debug every PHP script. The key option: Xdebug v2: xdebug.remote_autostart = 1 Xdebug v3: xdebug.start_with_request = yes Add Xdebug session start parameter to the actual URL (XDEBUG_SESSION_START={{KEY}} — https://xdebug.org/docs/step_debug#manual-init), for example: ?XDEBUG_SESSION_START=PHPSTORM Pass Xdebug cookie as part of the … Read more

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

Increasing nesting function calls limit

This error message comes specifically from the XDebug extension. PHP itself does not have a function nesting limit. Change the setting in your php.ini: xdebug.max_nesting_level = 200 or in your PHP code: ini_set(‘xdebug.max_nesting_level’, 200); As for if you really need to change it (i.e.: if there’s a alternative solution to a recursive function), I can’t … Read more