Plack::App::Debugger - The web service backend for the debugger
version 0.03
This is the web API backend for the Plack::Debugger, its primary purpose is to deliver the recorded debugging data to the debugging UI. It must be mounted as its own endpoint within your Plack application, by default it expects to be mounted at /debugger but this can be changed if needed.
/debugger
This module is tightly coupled with the Plack::Middleware::Debugger::Injector in the sense that what is injected by that middleware is the debugging UI that this module provides the backend for.
/static/*
This serves the static resources (Javascript and CSS) needed by the debugging UI as well as the debugging UI itself.
/$request_uid
This will return the data associated with the specified $request_uid as a single JSON object.
$request_uid
/$request_uid/subrequests
This will return all the subrequest data associated with the specified $request_uid as a JSON array or JSON objects.
If the X-Plack-Debugger-SubRequests-Modified-Since header is set, then it will only return the subset of subrequest data that has happened since the epoch specified in this header.
X-Plack-Debugger-SubRequests-Modified-Since
/$request_uid/subrequests/$subrequest_uid
This will return the specific subrequest data associated with the $request_uid and $subrequest_uid as a JSON object.
$subrequest_uid
This module was originally developed for Booking.com. With approval from Booking.com, this module was generalized and published on CPAN, for which the authors would like to express their gratitude.
Stevan Little <stevan@cpan.org>
This software is copyright (c) 2014 by Stevan Little.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Plack::Debugger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Debugger
CPAN shell
perl -MCPAN -e shell install Plack::Debugger
For more information on module installation, please visit the detailed CPAN module installation guide.