php-profiler icon indicating copy to clipboard operation
php-profiler copied to clipboard

[Req] Add a method to debug

Open jmtucu opened this issue 12 years ago • 1 comments

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!

jmtucu avatar Mar 29 '12 19:03 jmtucu

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.

simonweil avatar Nov 28 '12 10:11 simonweil