Multithreaded django hook for PTVSD debugging
Project description
Django PTVSD Debug
A little manage.py tweak to attach a PTVSD debugger during runserver. Built with WSL development in mind since we have to treat it like remote in apps like VSCode (for now...)
Usage
- Add django_ptvsd to your INSTALLED_APPS above Django
INSTALLED_APPS = (
'django_ptvsd',
...
)
- pass
--ptvsd
flag to runserver command
django-admin runserver --ptvsd
Django Settings
PTVSD_ENABLE = False
Attach PTVSD by default. No need for --ptvsd
flag
PTVSD_REMOTE_ADDRESS = '0.0.0.0'
- Which address to listen on
PTVSD_REMOTE_PORT = 5678
- Which port to listen on
PTVSD_WAIT_FOR_ATTACH = False
- Whether or not to wait for attach before continuing
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
Built Distribution
Close
Hashes for django_ptvsd_debug-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 645d0a5cb27f565bc54635dddbcb27a15570fef0b027883ebae0d4a1a98d3c63 |
|
MD5 | ce1aec20f68be19999777c6d61cbc56e |
|
BLAKE2b-256 | af09da531bb38c6282f6de9adf0935799d8cdf08f424fd056e83d7c49f0143d9 |