This file contains 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
# 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) |