Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save regnarock/ede9b719160004e630048936a4daac70 to your computer and use it in GitHub Desktop.
Save regnarock/ede9b719160004e630048936a4daac70 to your computer and use it in GitHub Desktop.
# install pycharm debug in project virtualenv
# easy_install /usr/lib/pycharm-4.5.2/debug-eggs/pycharm-debug.egg
#add new 'Python Remote Debug' configuration in (for example port 1999)
import pydevd
pydevd.settrace('localhost', port=1999, stdoutToServer=True, stderrToServer=True, suspend=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment