{"repo":"mdmintz/pdbp","free":true,"listed":false,"github":"https://github.com/mdmintz/pdbp","clone":"git clone https://github.com/mdmintz/pdbp.git","description":"pdbp (Pdb+): A drop-in replacement for pdb and pdbpp. To replace \"pdb\", add \"import pdbp\" to an \"__init__.py\" file.","language":"Python","stars":115,"topics":["debugger","debugging","debugging-tool","pdb","python-debugger","traceback","seleniumbase","stacktrace"],"license":null,"category":"dev-tools","readme_excerpt":"pdbp (Pdb+) pdbp (Pdb+) is an advanced console debugger for Python. It can be used as a drop-in replacement for pdb and pdbpp. pdbp (Pdb+) makes Python debugging a lot easier (and more fun!) -------- Installation: Then add import pdbp to an init .py of your project, which will automatically make Pdb+ the default debugger at breakpoints: (If using flake8 for code-linting, you may want to add # noqa to that line): You can also make pdbp the default debugger by setting an environmental variable: Usage: To trigger a breakpoint in your code with pytest , add --trace (to start tests with a breakpoint) or --pdb (to trigger a breakpoint if a test fails). To trigger a breakpoint from a pure python run, use: -------- Basic Pdb+ console commands: n , c , s , u , d = next , continue , step , up , down (To learn more Pdb+ console commands, type help in the Pdb+ console and press Enter/Return .) -------- pdbp (Pdb+) makes improvements to pdbpp so that it works in all environments. It also includes other bug-fixes. \"Sticky\" mode is the default option, which shows multiple lines of code while letting you see where you're going (while typing n + Enter ). If you somehow reset pdb to Python's built-in version, you can always replace pdb with pdbp again as the default debugger by running this: Here's how to customize pdbp / pdb options if you don't like the default settings: ( Shown below are the default settings. ) You can also trigger Pdb+ activation like this: pdbp (Pdb+) commands: Post Morte","default_branch":null,"files":null,"tree":[],"storefront":"/r/mdmintz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mdmintz/pdbp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}