As you know var_dump() in addition to value show its data type and length.
var_dump()
Is there any way to log its output to
I think one easy way to achieve this goal is to do a simple
console.log();