Skip to content

Instantly share code, notes, and snippets.

@fpsampayo
Created February 18, 2019 10:49
Show Gist options
  • Save fpsampayo/0615768f57a44130dbf53cdda4dc48ab to your computer and use it in GitHub Desktop.
Save fpsampayo/0615768f57a44130dbf53cdda4dc48ab to your computer and use it in GitHub Desktop.
PyQgis debug with pydev

Put this code in jour plugin:

try:
    pydev_path = 'PYDEV_PATH_HERE'
    import sys;sys.path.append(pydev_path)
    import pydevd;pydevd.settrace()
except:
    print("Error activando debugger")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment