Skip to content

Instantly share code, notes, and snippets.

@smurugap
Last active February 1, 2018 22:36
Show Gist options
  • Save smurugap/42215920d2510107fdb7927e84cb1f8d to your computer and use it in GitHub Desktop.
Save smurugap/42215920d2510107fdb7927e84cb1f8d to your computer and use it in GitHub Desktop.
Remote python debugging
#pip install remote_pdb
import remote_pdb
remote_pdb.set_trace() # you'll see the port number in the logs
remote_pdb.RemotePdb('127.0.0.1', 4444).set_trace()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment