Metadata-Version: 2.1
Name: pdbp
Version: 0.1.0
Summary: pdbp (Pdb+) -- Improving pdb and fixing pdbpp (Pdb++).
Home-page: https://github.com/mdmintz/pdbp
Author: Michael Mintz
Author-email: mdmintz@gmail.com
Maintainer: Michael Mintz
License: MIT
Project-URL: Changelog, https://github.com/mdmintz/pdbp/releases
Project-URL: Download, https://pypi.org/project/pdbp/#files
Project-URL: Bug Tracker, https://github.com/mdmintz/pdbp/issues
Project-URL: PyPI, https://pypi.org/project/pdbp/
Project-URL: Source, https://github.com/mdmintz/pdbp
Keywords: pdb debugger tab color completion
Platform: Windows
Platform: Linux
Platform: Mac OS-X
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Environment :: MacOS X
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Debuggers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Utilities
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: tabcompleter (>=0.1.0)
Requires-Dist: six (>=1.16.0)
Requires-Dist: pygments (>=2.5.2) ; python_version < "3.6"
Requires-Dist: pygments (>=2.13.0) ; python_version >= "3.6"

# ``pdbp`` (Pdb+)

[pdbp (Pdb+)](https://github.com/mdmintz/pdbp) is a drop-in replacement for ``pdb`` and (unmaintained) [pdbpp (Pdb++)](https://github.com/pdbpp/pdbpp).

This fixes ``pdbpp`` (pdb++) to work in all environments. Sticky ``pdbpp`` mode is the default option.

To replace ``pdb`` with it, add ``import pdbp`` to an ``__init__.py`` file. In case that doesn't work, you can just load all of ``pdbp`` into ``pdb``:

```python
import pdb
import pdbp
for key in pdbp.__dict__.keys():
    pdb.__dict__[key] = pdbp.__dict__[key]
```

If you need to customize ``pdbp`` options:

```python
if hasattr(pdb, "DefaultConfig"):
    pdb.DefaultConfig.filename_color = pdb.Color.blue
    pdb.DefaultConfig.line_number_color = pdb.Color.turquoise
    pdb.DefaultConfig.show_hidden_frames_count = False
    pdb.DefaultConfig.disable_pytest_capturing = True
    pdb.DefaultConfig.enable_hidden_frames = False
    pdb.DefaultConfig.truncate_long_lines = True
    pdb.DefaultConfig.sticky_by_default = True
```
