Skip to main content

Pytest PuDB debugger integration

Project description

pytest-pudb-resurrected

CI Status

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest_pudb_resurrected-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_pudb_resurrected-0.1.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

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

Hashes for pytest_pudb_resurrected-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e158a458ee024269dd1679296fa37a024bab39a693fcb9d51653826af92f2764
MD5 da31612c0070a8d8e221b8f352066d9d
BLAKE2b-256 cc398adc461425da7f7e46495ba16b369eee37a2669b8ae33a342e90531f07a5

See more details on using hashes here.

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

Hashes for pytest_pudb_resurrected-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a505689425190a6d128e22fd0ea86d9b57de3ead049dbae02584bd2e597d809d
MD5 7251a88f98a09dbd15db258dd68ed27c
BLAKE2b-256 59d112b17dbc3b26e14c268243197786afed4b8a26d49d474b8a6ded0f22d041

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page