Code Monkey home page Code Monkey logo

dancer-plugin-debugtoolbar's People

Contributors

odyniec avatar racke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

racke jeneric

dancer-plugin-debugtoolbar's Issues

DBI reset Error when using DebugToolbar

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 ...

No output without </body>

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.

Problem with CPAN Installation

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 ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.