debug doesn't work in cakephp 3.0

477 Views Asked by At

A simple debug($var) in my project doesn't seem to work. I have put the debug($var) inside controller. I am trying to get a variable printed to see what values are assigned. So I try debug($var) but doesn't do anything. The debugtoolkit panel shows up I don't see the variable printed.

I am using cakephp 3.0 I have enabled debug by doing this debug' => filter_var(env('DEBUG', true), FILTER_VALIDATE_BOOLEAN) in my app.php inside config file.

What could be wrong?

Can someone guide me with this?

Thanks!

0

There are 0 best solutions below