Skip to content

Instantly share code, notes, and snippets.

@brianpeiris
Forked from jsutlovic/ipdb.sublime-snippet
Last active December 25, 2015 17:29
Show Gist options
  • Save brianpeiris/7013905 to your computer and use it in GitHub Desktop.
Save brianpeiris/7013905 to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
import ipdb; ipdb.set_trace()
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<!-- <tabTrigger>hello</tabTrigger> -->
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
<tabTrigger>ipdb</tabTrigger>
<scope>source.python</scope>
</snippet>
# vim-snipmate snippet
snippet rpdb
import rpdb2; rpdb2.start_embedded_debugger("${1:password}", fAllowRemote=${2:True})
<snippet>
<content><![CDATA[
import rpdb2; rpdb2.start_embedded_debugger("${1:password}", fAllowRemote=${2:True})
]]></content>
<tabTrigger>rpdb</tabTrigger>
<scope>source.python</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment