Skip to content

Instantly share code, notes, and snippets.

@mgk
Created April 12, 2014 15:28
Show Gist options
  • Save mgk/10541397 to your computer and use it in GitHub Desktop.
Save mgk/10541397 to your computer and use it in GitHub Desktop.
SublimeText ipython debug snippet
<snippet>
<content><![CDATA[
from IPython.core.debugger import Tracer; debug_here = Tracer()
debug_here()
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>dbg</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.python</scope>
</snippet>
@mgk
Copy link
Author

mgk commented Apr 12, 2014

On Mac save the above as:
Library/Application Support/Sublime Text 2/Packages/Python/ipython-debug.sublime-snippet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment