Yanick Champoux > Dancer-1.3119 > Dancer::Handler::Debug

Download:
Dancer-1.3119.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Dancer-1.3126

NAME ^

Dancer::Handler::Debug - a debug handler for easy tracing

DESCRIPTION ^

When developing a Dancer application, it can be useful to trace precisely what happen when a query is processed. This handler is here to provide the developer with a way to easily run the dancer application with the Perl debugger.

This handler will process ony one query, based on the first argument given on the command line ($ARGV[0]).

USAGE ^

    # in bin/app.pl
    set apphandler => 'Debug';

    # then, run the app the following way
    perl -d bin/app.pl GET '/some/path/to/test' 'with=parameters&other=42'

AUTHORS ^

Dancer contributors

syntax highlighting: