Skip to content

Instantly share code, notes, and snippets.

@zablotski
Created October 5, 2015 11:02
Show Gist options
  • Save zablotski/2313dc025249f70c0c5c to your computer and use it in GitHub Desktop.
Save zablotski/2313dc025249f70c0c5c 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)
@regnarock
Copy link

Thanks a lot for this gist! Still working as of today 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment