I have a vim plugin that I'm writing in python, however I need to debug the python script. How can use pdb (or preferably ipdb) in the vim script itself? When I use pdb vim just hangs with no output, and when I use ipdb it turns vim into garbaged output.
Asked
Active
Viewed 1,128 times
1 Answers
3
You could try rpdb
to debug remotely. Where the remote is just a different tab in your shell.
Just install Winpdb
(not windows specific anymore) http://winpdb.org/ It includes rpdb2
which is a remote version of pdb
and winpdb
itself is a nice graphical debugger.
Usage example with Winpdb:
import rpdb2
rpdb2.start_embedded_debugger('some password')
And from Winpdb:
File -> Attach

Naga Kiran
- 8,585
- 5
- 43
- 53

Wolph
- 78,177
- 11
- 137
- 148