NAME
Dancer2::Plugin::Debugger
ATTRIBUTES
enabled
Whether plugin is enabled. Set from config.
cache_file
The location of the shared cached file used to pass data between the collectors within the Dancer2 plugin and the Plack::Debugger panels.
Defaults to dancer2_debugger.mmap
inside "appdir" in Dancer2::Config.
cache
The Cache::FastMmap cache object.
decoder
A Sereal::Decoder object.
encoder
A Sereal::Encoder object.
METHODS
BUILD
Load all Dancer2::Plugin::Debugger::Panel::*
classes if "enabled" is true.
get $key
Get value for $key
from "cache".
get_decoded $key
Get decoded value for $key
from "cache" that was previously encoded using "encoder".
set $key, $value
Set value for $key
to $value
in "cache".
set_encoded $key, $value
Encode $value
using "encoder" and set this as the value for $key
in the "cache".