# save this in .pdbrc in your home directory
from vimpdbhook import preloop, precmd
pdb.Pdb.preloop = preloop
pdb.Pdb.precmd = precmd

