Last active
February 1, 2018 22:36
-
-
Save smurugap/42215920d2510107fdb7927e84cb1f8d to your computer and use it in GitHub Desktop.
Remote python debugging
This file contains hidden or 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
#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