Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added ipdb snippet #63

Closed
wants to merge 1 commit into from

2 participants

@dbrgn

ipdb is like pdb, but uses IPython instead of the regular Python shell.

@SirVer
Owner

That's a little special to go into the general snippets, methink. Thanks for the offer though.

@SirVer SirVer closed this
@dbrgn

Snipmate includes it too and the use of IPython makes it far superior to pdb. But it's ok if you don't want to include it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 28, 2013
  1. @dbrgn

    Added ipdb

    dbrgn authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 UltiSnips/python.snippets
View
4 UltiSnips/python.snippets
@@ -444,6 +444,10 @@ snippet pdb "Set PDB breakpoint" b
import pdb; pdb.set_trace()
endsnippet
+snippet ipdb "Set ipdb breakpoint" b
+import ipdb; ipdb.set_trace()
+endsnippet
+
snippet ae "Assert equal" b
self.assertEqual(${1:first},${2:second})
endsnippet
Something went wrong with that request. Please try again.