Xdebug seems to ignore PHP magic method __debugInfo() in user defined classes when using var_dump().
This is especially unhandy when injecting dependencies (with dependencies, with dependencies...).
Is there a setting for Xdebug's var_dump() so it works with __debugInfo() as expected? Or a workaround in PHP maybe? I could not find anything.