php-profiler
php-profiler copied to clipboard
[Req] Add a method to debug
I love this profiler and the unique thing I really miss is a debugger for variables.
Maybe you can create a method like this
<?php Profiler::debugVar('var_name', $var); ?>
And display in the result a table like this
var_name | value of the var
Just an idea :) Greetings!
Love the idea! I'd expand the idea to adding a message like printf works. It should be as easy as the debug option.
If I'll find some time for it I'll do it and create a pull request.