Skip to main content

PonyDebugger support for Django

Project description

PonyDebugger is a remote debugging toolset that uses Chrome Developer Tools. It consists of 2 parts: a server (ponyd) and an iOS client library so you can debug your iOS apps.

This project adds a Python client for debugging Django web apps.

django-ponydebugger is licensed under the MIT License.

Features

  • Network Traffic Debugging

    View all requests received by Django, including request and response headers and bodies.

  • Console

    Interact with the running process with a fully functional console.

Installation / Setup / Usage

Install the django-ponydebugger package and its dependencies with the following command:

pip install django-ponydebugger

Update your Django settings module to add django_ponydebugger.middleware.PonyMiddleware to MIDDLEWARE_CLASSES (preferably near the beginning).

After receiving the first request, django-ponydebugger will connect to ponyd. Connect to ponyd with your browser (probably http://127.0.0.1:9000/), and you should see Django listed. After clicking on Django, django-ponydebugger will report events to PonyDebugger / Chrome Developer Tools.

Known Issues

None

Future Work

  • Timeline support. It would be nice to report received HTTP requests as well as other events related to the request (like DB queries) to the Timeline.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-ponydebugger-0.0.3.tar.gz (13.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page