- Notifications
You must be signed in to change notification settings - Fork233
Full-screen console debugger for Python
License
NotificationsYou must be signed in to change notification settings
inducer/pudb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Its goal is to provide all the niceties of modern GUI-based debuggers in amore lightweight and keyboard-friendly package. PuDB allows you to debug coderight where you write and test it--in a terminal.
Here are some screenshots:
You may watch screencasts too:
- Syntax-highlighted source, the stack, breakpoints and variables are allvisible at once and continuously updated. This helps you be more aware ofwhat's going on in your program. Variable displays can be expanded, collapsedand have various customization options.
- Pre-bundled themes, including dark themes via "Ctrl-P". Could set a custom theme also.
- Simple, keyboard-based navigation using single keystrokes makes debuggingquick and easy. PuDB understands cursor-keys and Vi shortcuts for navigation.Other keys are inspired by the corresponding pdb commands.
- Use search to find relevant source code, or use "m" to invoke the modulebrowser that shows loaded modules, lets you load new ones and reload existingones.
- Breakpoints can be set just by pointing at a source line and hitting "b" andthen edited visually in the breakpoints window. Or hit "t" to run to the lineunder the cursor.
- Drop to a Python shell in the current environment by pressing "!".Or open a command prompt alongside the source-code via "Ctrl-X".
- PuDB places special emphasis on exception handling. A post-mortem mode makesit easy to retrace a crashing program's last steps.
- Ability to control the debugger from a separate terminal.
- IPython integration (seewiki)
- Should work with Python 3.6 and newer. (Versions 2019.2 and older continueto support Python 2.7.)
PuDB also has amailing list thatyou may use to submit patches and requests for help. You can also send a pullrequest to theGitHub repository
You may obtain the development version using theGitversion control tool.:
git clone https://github.com/inducer/pudb.git
You may alsobrowse the code online.
About
Full-screen console debugger for Python
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published