Full-screen console debugger for Python
PuDB: a console-based visual debugger for Python ================================================
.. image:: https://gitlab.tiker.net/inducer/pudb/badges/main/pipeline.svg :alt: Gitlab Build Status :target: https://gitlab.tiker.net/inducer/pudb/commits/main .. image:: https://github.com/inducer/pudb/actions/workflows/ci.yml/badge.svg :alt: Github Build Status :target: https://github.com/inducer/pudb/actions/workflows/ci.yml .. image:: https://badge.fury.io/py/pudb.png :alt: Python Package Index Release Page :target: https://pypi.org/project/pudb/
Its goal is to provide all the niceties of modern GUI-based debuggers in a more lightweight and keyboard-friendly package. PuDB allows you to debug code right where you write and test it--in a terminal.
Here are some screenshots:
- Light theme
- Dark theme
You may watch screencasts too:
Meet Pudb, a debugger for Python code (2020) <https://www.youtube.com/watch?v=bJYkCWPsUU>
PuDB Intro Screencast (2009) <http://vimeo.com/5255125>_
- Syntax-highlighted source, the stack, breakpoints and variables are all
- Pre-bundled themes, including dark themes via "Ctrl-P". Could set a custom theme also.
- Simple, keyboard-based navigation using single keystrokes makes debugging
- Use search to find relevant source code, or use "m" to invoke the module
- Breakpoints can be set just by pointing at a source line and hitting "b" and
- Drop to a Python shell in the current environment by pressing "!".
- PuDB places special emphasis on exception handling. A post-mortem mode makes
- Ability to control the debugger from a separate terminal.
- IPython integration (see
wiki <http://wiki.tiker.net/PuDB>_)
- Should work with Python 3.6 and newer. (Versions 2019.2 and older continue
Links
PuDB documentation <https://documen.tician.de/pudb>_
PuDB also has a mailing list <http://lists.tiker.net/listinfo/pudb>_ that you may use to submit patches and requests for help. You can also send a pull request to the GitHub repository <https://github.com/inducer/pudb>_
Development Version
You may obtain the development version using the Git <http://git-scm.org/>_ version control tool.::
git clone https://github.com/inducer/pudb.git
You may also browse the code <https://github.com/inducer/pudb>_ online.