pytest-pudb-resurrected
Pytest PuDB debugger integration based on pytest PDB integration.
This is a maintained fork of the original pytest-pudb project.
Installation
pip install pytest-pudb-resurrected
Or with uv:
uv add pytest-pudb-resurrected
Usage
Start the debugger on test failures with --pudb (or --db):
pytest --pudb
pytest --db # shortcut
Start the debugger at the beginning of each test with --pudb-trace (or --dbt):
pytest --pudb-trace
pytest --dbt # shortcut
Or set breakpoints directly in your code with pudb.set_trace():
def test_set_trace_integration():
# No --capture=no needed
import pudb
pudb.set_trace()
assert 1 == 2
def test_pudb_b_integration():
# No --capture=no needed
import pudb.b
# breakpoint is set here
assert 1 == 2
See Also
Metadata
Release files for pytest-pudb-resurrected 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest_pudb_resurrected-0.1.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_pudb_resurrected-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.9 kB
Release files / pytest_pudb_resurrected-0.1.0.tar.gz
| Download URL | pytest_pudb_resurrected-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e158a458ee024269dd1679296fa37a024bab39a693fcb9d51653826af92f2764
|
|
BLAKE2b-256 checksum How to use checksums |
cc398adc461425da7f7e46495ba16b369eee37a2669b8ae33a342e90531f07a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pytest_pudb_resurrected-0.1.0-py3-none-any.whl
| Download URL | pytest_pudb_resurrected-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a505689425190a6d128e22fd0ea86d9b57de3ead049dbae02584bd2e597d809d
|
|
BLAKE2b-256 checksum How to use checksums |
59d112b17dbc3b26e14c268243197786afed4b8a26d49d474b8a6ded0f22d041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|