Created
April 9, 2012 20:20
-
-
Save photex/2346361 to your computer and use it in GitHub Desktop.
pycharm remote debug example
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
import sys | |
sys.path.insert(0, '/job/HOME/ccollier/pycharm/pycharm-debug.egg') | |
from pydev import pydevd | |
pydevd.settrace('localhost', port=1234) | |
# HERE YOU WOULD CALL THE CODE BEING DEBUGGED. A BREAKPOINT SHOULD BE SET IN PYCHARM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment