@Koc The VarDebug component is not about immediate output. So overwriting the standard dump function would be weird IMO.

and a debug_collect *function* would still suffer from the same issue. Collecting the debug of the variable is **not** a function is the Twig semantic, it is a tag. This ends here.