Pytest PuDB debugger integration
Project description
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_pudb_resurrected-0.1.0.tar.gz.
File metadata
- Download URL: pytest_pudb_resurrected-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e158a458ee024269dd1679296fa37a024bab39a693fcb9d51653826af92f2764
|
|
| MD5 |
da31612c0070a8d8e221b8f352066d9d
|
|
| BLAKE2b-256 |
cc398adc461425da7f7e46495ba16b369eee37a2669b8ae33a342e90531f07a5
|
File details
Details for the file pytest_pudb_resurrected-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pytest_pudb_resurrected-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a505689425190a6d128e22fd0ea86d9b57de3ead049dbae02584bd2e597d809d
|
|
| MD5 |
7251a88f98a09dbd15db258dd68ed27c
|
|
| BLAKE2b-256 |
59d112b17dbc3b26e14c268243197786afed4b8a26d49d474b8a6ded0f22d041
|