Skip to content

Instantly share code, notes, and snippets.

@photex
Created April 9, 2012 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save photex/2346361 to your computer and use it in GitHub Desktop.
Save photex/2346361 to your computer and use it in GitHub Desktop.
pycharm remote debug example
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