You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abdullah Bakhach edited this page Feb 18, 2017
·
9 revisions
Intro
We need a way to debug our python development. Currently our python runs from the alfred command line, so we should be able to fire up a debugger that puts break points on that process.
pdb
we are using pdb (see this PR). see reference for pdb. This is kind of the poor man's CLI debugger, we cannot use the remote debugging of pycharm since it's only available in the enterprise edition.
how to use pdb
first run logger by hitting the hot key (currently ⌥⌘L_
you'll see the alfred window showing up
- open a terminal window and run the command `nc 127.0.0.1 4444`