odyniec / dancer-plugin-debugtoolbar Goto Github PK
View Code? Open in Web Editor NEWDebugging toolbar for Perl Dancer web applications
Debugging toolbar for Perl Dancer web applications
I keep getting an error with a before sub:
An error occured while executing the filter named before: Undefined subroutine &Dancer::Plugin::DebugToolbar::DBI::reset called at /usr/local/share/perl/5.10.1/Dancer/Plugin/DebugToolbar.pm line 123, line 16.
My Config.yml:
appname: "testapp"
layout: "main"
charset: "UTF-8"
template: "simple"
plugins:
DebugToolbar:
enable: 1
My app.pl:
package testapp;
use Dancer ':syntax';
use Dancer::Plugin::DebugToolbar;
our $VERSION = '0.1';
get '/' => sub {
template 'index';
};
true;
I am not using a Database Plugin ...
It should probably be clearer in the documentation that there will be no output if the response does not contain a </body>
tag.
For instance, if the app doesn't output a full HTML document (say just a fragment of HTML, which, whilst wrong, maybe considered acceptable for some quickly-knocked-together proof of concept / internal tool).
I think the plugin should probably warn to the logs so it's clear what's going on.
Also, if the </body>
tag has extraneous space, e.g. </body >
, it won't work either.
Hey,
when trying to install DebugToolbar via CPAN (perl -MCPAN -e 'install Dancer::Plugin::DebugToolbar') I get an error on a dependency for:
File::ShareDir::Install
How come it does not automatically install this dependency. After I install it by hand, everything works fine ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.