Is there any way to debug PHP via the browser console?
I sometimes want to debug a value on the system in production, but I do not want the user to notice it. Then I had the idea of using the browser console.
You can do something like this:
console_log(['nome' => 'Wallace']);
And in the console appear:
{nome: "wallace"}