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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-ponydebugger-0.0.3.tar.gz
.
File metadata
- Download URL: django-ponydebugger-0.0.3.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892d10e29acf5a7503528960e81c38ad56f807a84d68b76348d6367b5298bffa |
|
MD5 | 403b27e09a1346eb56f6bec7921370f0 |
|
BLAKE2b-256 | 781a71b61c4096d557102d8a6a68eaf9d559ae1aa3d2e2a20ceedc36fb3aa5dc |