I would like to use vim to write python codes, it is good to use python-mode plugin. However, I have to debug with pdb in the terminal, which is quite inconvenient since I have no way to view the whole code. Are there any plugins that can be the front end of debug tools such as gdb or pdb, and allow me to debug in vim directly?
You should check the existing plugins with Vim Awesome:
Vim Awesome is a directory of Vim plugins sourced from GitHub, Vim.org, and user submissions. Plugin usage data is extracted from dotfiles repos on GitHub.
A quick search on that site brought these results:
- vimpdb by Godefroid Chapelle - Pdb and Vim integration
- pdbvim by Mathew Yeates - Interface to pdb for debugging python scripts
- pybreak by Niklas Thörne - Vim function for toggling pdb.set_trace statement at cursor position