Skip to content

luipir/qgis-remote-debug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

qgis-remote-debug

Start Python remote debugger from QGIS plugin

QGis: Plugin manual installation outside the QGIS plugin manager

follow these steps:

  • clone this repositoy in a <path>
  • copy or link <path>/qgis-remote-debug/RemoteDebug in $HOME/.qgis2/python/plugins/remotedebug (!!! lower case !!!)
  • explicitly add $HOME/.qgis2/python/plugins in PYTHONPATH for the qgis session e.g setting in a shell script that launch qgis
  • then follow reading this document

PyDev Debugging (Eclipse)

PyDev is a Python IDE for Eclipse with remote debugger support.

The steps to debug an external program are:

  • Go to the debug perspective
  • Configure remote debugging of exceptions (PyDev > Manage Exception Breakpoints)
  • Start the debug server (PyDev > Start Debug Server)
  • Press the QGIS toolbar icon to activate remote debugging
  • The debugger is activated when a breakpoint is reached or an expception is raised (configureable)

ERIC4 Passive Debugging

The Steps to activate passive debuging with ERIC4 are:

  • open Settings->Preferences->Debugging General
  • activate the option "Passive Debugger Enabled"
  • Restart the ERIC4 IDE
  • Load the Plugin-Project
  • Press the QGIS toolbar icon to activate passive debugging with eric4

About

Start Python remote debugger from QGIS plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%