Skip to content

Instantly share code, notes, and snippets.

View siiinc's full-sized avatar

Jerry Rumbolt siiinc

  • Maxar Inc
View GitHub Profile
@siiinc
siiinc / readme.md
Created September 1, 2016 05:37 — forked from AsgerPetersen/readme.md
PyCharm remote debug of QGIS on OSX

Based heavily on this old guide by TimLinux http://linfiniti.com/2012/09/remote-debugging-qgis-plugins-using-pycharm/

  • In PyCharm click menu "Run -> Edit Configurations" (Or click Edit Configurations in the dropdown in the toolbar)
  • Click the plus to add a new "Python Remote Debug" config
  • Name the config. Use port 53100 (Could probably be any high port)
  • Add to the python code:
import sys
sys.path.append('/Applications/PyCharm.app/Contents/debug-eggs/pycharm-debug.egg')