# sfEasyDebug Plugin ## Overview sfEasyDebugPlugin provides tools to ease the debugging. ## Installation To install from svn: svn co http://svn.symfony-project.com/plugins/sfEasyDebugPlugin plugins/sfEasyDebugPlugin ## Usage Currently it implements only one function **ezDbg::err()** ezDbg::err($mized) If $mixed is a string, it is directly passed to the sfLogger->err() and to the firebug console.info(). If $mixed is anything else, it is pass to sfLogger->err() as a print_r($mixed, true), and to the firebug console.dir(). Additionnaly it add some information on the location of the ezDbg::err(), like the location file and class. In order to get the debug passed to firebug, one must add the following at the end of the layout.php <script> <?= ezDbg::getJavascript(true) ?> </script> ## License For the full copyright and license information, please view the LICENSE file that was distributed with this source code.