Search code examples
raspberry-piraspbiangeany

How to debug application as root in Geany on Raspbian Jessie


Having installed Geany on a Raspberry Pi and added the Debugger plugin, I need the debugger to run the application as root as I am accessing the GPIO libraries and pins on the Raspberry Pi.

I usually run the program using sudo ./programName

I cannot find an option in the debug settings to prefix the debug target with sudo.


Solution

  • Try running geany with sudo geany.