Skip to main content

A django middleware to debug exceptions in PyCharm's PyDev debugger

Project description

django-pycharm-debug-middleware

A django middleware to debug exceptions in PyCharm’s PyDev debugger.

Simply add the ExceptionMiddleware to your middleware classes and run PyCharm in Debug mode to handle Exceptions within PyCharm’s PyDev Debugger.

Usage

Append the middleware to your MIDDLEWARE_CLASSES and activate DEBUG_PROPAGATE_EXCEPTIONS:

MIDDLEWARE_CLASSES += ('pycharm_debug_middleware.middleware.ExceptionMiddleware', )
DEBUG_PROPAGATE_EXCEPTIONS = True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-pycharm-debug-middleware-1.0.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page