Hello World in Plack 2: InteractiveDebugger

Another tool to debug your Plack application is InteractiveDebugger
Screenshot-Died at debug-demo.psgi line 16 -- Plack Interactive Debugger - Chromium-1.png
You can dive into your code, explore your stack and see all variables in each frame.
And execute arbitrary code at some level!

Just try it:
plackup idebug-demo.psgi
firefox http://127.0.0.1:5000/

D command shows all variables in frame and you can just dump any variable using Data::Dumper:
perl> Data::Dumper::Dumper $self;
It would be great to have perl debugger-like alias 'x' for this command, maybe it will appear in future.

Leave a comment

About yko

user-pic I blog about Perl.