The new Xdebug seems to disable the overloaded var_dump()
function in debug mode. I like to use both var_dump()
and breakpoint debugging, but I'm forced to use xdebug.mode=develop
for var_dump and xdebug.mode=debug
for breakpoints Swap back and forth between points.
Is there any way to enable overloaded var_dump()
while staying at xdebug.mode=debug
?
It's not the end of the world, but it's a little annoying having to swap back and forth when I need a clean var_dump()
for a quick analysis.
You can determine the depth level to dump
check
https://xdebug.org/docs/all_settings#var_display_max_depth
Hope it helps you
Of course, just list both modes via commas:
Fromhttps://xdebug.org/docs/all_settings#mode