Function debug

Prints out debug information about given variable.

Only runs if debug level is greater than zero.

debug( mixed $var boolean $showHtml null boolean $showFrom true )

Parameters summary

mixed $var Variable to show debug information for.
boolean $showHtml = null If set to true, the method prints the debug data in a browser-friendly way.
boolean $showFrom = true If set to true, the method prints from where the function was called.

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/function-debug.html