Created
February 5, 2014 08:07
-
-
Save cobbweb/8819127 to your computer and use it in GitHub Desktop.
Sublime Text snippet to insert an ipdb breakpoint with set_trace()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<!-- Example: Hello, ${1:this} is a ${2:snippet}. --> | |
<content><![CDATA[ | |
import ipdb; ipdb.set_trace() | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>ipdb</tabTrigger> | |
<description>Set an ipdb breakbpoint with ipdb.set_trace</description> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.python, keyword.control.import.python</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment