phalcon-debug-widget icon indicating copy to clipboard operation
phalcon-debug-widget copied to clipboard

Improvement: $_POST and $_SESSION dumps

Open sboudoux opened this issue 9 years ago • 2 comments

Hi,

I'm using your toolbar for my phalcon project, it's really nice. It would be even better if it were displaying Post and Session variables too. It's more impoprtant to me than the Server array.

Generally speaking, if we could "register" new variables or tabs, your tool would become awesome. Thinking about:

$debugWidget->registerTab('_Post', $_POST); $debugWidget->registerVar('myDebugVar', $MyVar);

Keep the good work. Cheers

sboudoux avatar May 12 '15 10:05 sboudoux

I haven't used the toolbar in a while actually, but I believe $_POST, $_SESSION are in the "Request" tab. I'm planning a major revamp of the toolbar soon. Dumping recursive view variables proves to be too much in large projects with Dependency injection.

jymboche avatar May 12 '15 15:05 jymboche

Phalcon team has made a nice job with their debugger, sadly I haven't found a way to use it as / in a dev toolbar. I'll wait for your revamp, I could potentially give you a hand at some point if you're interested.

Cheers

sboudoux avatar May 13 '15 08:05 sboudoux