Skip to main content

django-debugger

A simple plugin to attach a debugger in Django during runserver

Installation

pip install django-debugger

Usage

  1. Prepend django_debugger to top of the INSTALLED_APPS

    INSTALLED_APPS = [
        "django_debugger",
        ...
    ]
    
    # Or if you have multiple settings configuration
    INSTALLED_APPS = [ 
        "django_debugger",
        ... # custom development apps
    ] + INSTALLED_APPS
    
  2. 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 debugging
  • DEBUGGER_PORT = 5678 : Port to listen for remote debugging
  • DEBUGGER_WAIT_FOR_ATTACH = False : Wait for debugger to attach before continuing.

Release files for django-debugger 0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-debugger 0.6
File Size Uploaded
django-debugger-0.6.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-debugger 0.6
File Interpreter ABI Platform
django_debugger-0.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / django-debugger-0.6.tar.gz

Download URL django-debugger-0.6.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e07eeb677b1794142551c639fd7b43eb229c569fa3be74feefae6f00cff40b74
BLAKE2b-256 checksum
How to use checksums
eafc96d55e08ae25f49cd58a48b251de309bdb5e4d6e95b0f135a7eba90277d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / django_debugger-0.6-py3-none-any.whl

Download URL django_debugger-0.6-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e1ae97aa7ebd7434ad8157e5058e7be761a4a647248c694ac88768de2f0196c
BLAKE2b-256 checksum
How to use checksums
1c05d59f1c48d4a726c1728c58d06fce0ddf61f26aca53a771136b709e7e74d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page