Django debug extension
The Everbug is a lightweight Django middleware for Chrome extension with easy install. One of the advantages: the response body of target page remains clean and unchanged.
Special summary: * Database queries with explains (Multiple database support) * Context variables * Profiles functions (cProfile through decorator) * Support ajax requests
Run "pip install everbug". Add "everbug" to your INSTALLED_APPS in settings.py. Append "everbug.middleware.Tracer" to MIDDLEWARE or MIDDLEWARE_CLASSES in settings.py.
For Chrome: _chrome_ext_ For Firefox: _firefox_ext_
“Context” works for any view which has a “context_data”. “Queries” works as-is for all databases in “DATABASES” section. “Profile” works through decorator (based on builtin cProfile). By default, profile output is truncated to 20 lines.
from everbug.shortcuts import profile @profile def sample_method(): // some code here ...
Call @profile with argument for full view, for example:
@profile(short=False) def sample_method(): // some code here ...
Running the tests
docker-compose up -d docker exec -it everbug tox
This project is licensed under the MIT License - see the LICENSE file for details
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size everbug-1.24-py3-none-any.whl (7.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size everbug-1.24.tar.gz (6.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|