Skip to main content

A simple plugin to attach a debugger in Django during runserver

Project description


A simple plugin to attach a debugger in Django during runserver


pip install django-debugger


  1. Prepend django_debugger to top of the INSTALLED_APPS

    # Or if you have multiple settings configuration
        ... # custom development apps
  2. Add --enable-debugger argument to runserver command

    python runserver ---enable-debugger


    Add DEBUGGER_ENABLE = True to settings file.

Settings Variables

  • DEBUGGER_ENABLE = True : Attaches debugger.
  • DEBUGGER_ADDRESS = "" : 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.

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.6.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

django_debugger-0.6-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page