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
--ptvsdflag 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
Metadata
Release files for django-ptvsd-debug 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-ptvsd-debug-1.0.3.tar.gz | 2.0 kB | Without provenance | Details for django-ptvsd-debug-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_ptvsd_debug-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for django_ptvsd_debug-1.0.3-py3-none-any.whl |
Total release size: 5.8 kB
Release files / django-ptvsd-debug-1.0.3.tar.gz
| Download URL | django-ptvsd-debug-1.0.3.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c58dfe5b9be22e2cc09c1d87857d269d5a3263e8c9108f1d92701ce1ce9715d
|
|
BLAKE2b-256 checksum How to use checksums |
6f851db38aaca827c1d93333f63beb7169d87010e87611f43607192d2b464210
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
|
Release files / django_ptvsd_debug-1.0.3-py3-none-any.whl
| Download URL | django_ptvsd_debug-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
645d0a5cb27f565bc54635dddbcb27a15570fef0b027883ebae0d4a1a98d3c63
|
|
BLAKE2b-256 checksum How to use checksums |
af09da531bb38c6282f6de9adf0935799d8cdf08f424fd056e83d7c49f0143d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.7
|
Security for django-ptvsd-debug 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.