Skip to content

Instantly share code, notes, and snippets.

@ssaunier
Created July 5, 2018 15:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaunier/5d8231b38a5e0cb63acad2eea7ebf64b to your computer and use it in GitHub Desktop.
Save ssaunier/5d8231b38a5e0cb63acad2eea7ebf64b to your computer and use it in GitHub Desktop.
Python debugger snippet for Sublime Text
<snippet>
<content><![CDATA[import pdb; pdb.set_trace()]]></content>
<tabTrigger>pdb</tabTrigger>
<scope>source.python</scope>
<description>import pdb</description>
</snippet>
<!-- USAGE -->
<!-- 1. Go to Tools -> New Snippet -->
<!-- 2. Copy/Paste this entire file -->
<!-- 3. Hit save -->
<!-- 4. Name it importpdb.sublime-snippet -->
<!-- 5. Save it under packages/user/ in sublime folder -->
<!-- Type `pdb` to use the snippet! -->
@nk9
Copy link

nk9 commented Dec 27, 2021

Thank you!!

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