Debug panel middleware for Plack