Run Python Debugger (pdb) in Sublime Text 3
If you don’t want to deal with additional packages, you can create a snippet to set the breakpoint for you. <snippet> <content><![CDATA[import pdb;pdb.set_trace()]]></content> <tabTrigger>pdb</tabTrigger> <scope>source.python</scope> <description>Insert a breakpoint</description> </snippet> The above snippet will trigger whenever you type pdb in your code. Instructions On a Mac Navigate to Tools -> Developer -> New Snippet Replace the … Read more