Giter Site home page Giter Site logo

z3c.evalexception's Introduction

``z3c.evalexception`` provides two WSGI middlewares for debugging web
applications running on the ``zope.publisher`` object publishing
framework (e.g. Zope 3).  Both middlewares will intercept an exception
thrown by the application and provide means for debugging.

Interactive AJAX debugger
=========================

``z3c.evalexception.ZopeEvalException`` lets you interactively debug
exceptions from a browser.  It is a small wrapper around the
``EvalException`` middleware from ``paste.evalexception``.  You can
easily refer to it in a PasteDeploy-style configuration file using the
``ajax`` entry-point::

  [filter-app:main]
  use = egg:z3c.evalexception#ajax
  next = zope

  [app:zope]
  use = egg:YourApp

  [server:main]
  use = egg:Paste#http
  host = 127.0.0.1
  port = 8080

Post-mortem pdb
===============

``z3c.evalexception.PostMortemDebug`` invokes pdb's post-mortem mode
when the application has thrown an exception.  You can refer to it in
a PasteDeploy-style configuration file using the ``pdb`` entry-point::

  [filter-app:main]
  use = egg:z3c.evalexception#pdb
  next = zope

  [app:zope]
  use = egg:YourApp

  [server:main]
  use = egg:Paste#http
  host = 127.0.0.1
  port = 8080

Changes
=======

2.0 (2007-08-23)
----------------

Added the ``PostMortemDebug`` (pdb) middelware.

1.0 (2007-06-02)
----------------

Initial release, featuring the Zope 3-compatible interactive AJAX
debugger from Paste.

z3c.evalexception's People

Contributors

janwijbrand avatar mgedmin avatar philikon avatar strichter avatar

Watchers

 avatar

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.