Skip to content

Instantly share code, notes, and snippets.

@phantomas1234
Forked from reebalazs/.pdbrc
Created January 11, 2014 17:16
Show Gist options
  • Select an option

  • Save phantomas1234/8373709 to your computer and use it in GitHub Desktop.

Select an option

Save phantomas1234/8373709 to your computer and use it in GitHub Desktop.
from PdbSublimeTextSupport import preloop, precmd
pdb.Pdb.preloop = preloop
pdb.Pdb.precmd = precmd
try:
from ipdb.__main__ import Pdb as ipdb_Pdb
except ImportError:
pass
else:
ipdb_Pdb.preloop = preloop
ipdb_Pdb.precmd = precmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment