A simple plugin to attach a debugger in Django during runserver
Project description
django-debugger
A simple plugin to attach a debugger in Django during runserver
Installation
pip install django-debugger
Usage
- Prepend django_debugger to top of the INSTALLED_APPS
INSTALLED_APPS = [
"django_debugger",
...
]
- Add
--enable-debugger
argument to runserver command
python manage.py runserver ---enable-debugger 0.0.0.0:8000
OR
Add DEBUGGER_ENABLE = True
to settings file.
Settings Variables
DEBUGGER_ENABLE = True
: Attaches debugger.DEBUGGER_ADDRESS = "0.0.0.0"
: Address to listen for remote debuggingDEBUGGER_PORT = 5678
: Port to listen for remote debuggingDEBUGGER_WAIT_FOR_ATTACH = False
: Wait for debugger to attach before continuing.
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-debugger-0.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for django_debugger-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53134a679c94a998991ca32a7b3b955500206da923d89500f5ade3ced0b83187 |
|
MD5 | 67f52f18bed6bd58f8a1dd82c08cd4cc |
|
BLAKE2b-256 | 56eba60c09f8dacc5054d27eabbf4421423504dea803fbe7fc2d7369efc4ce5f |