Leapo / Rock64-R64.GPIO

Python GPIO library for the Rock64 SBC (RPi.GPIO clone)
GNU Lesser General Public License v3.0
60 stars 24 forks source link

visual studio sudo issue #8

Open jwbarber opened 3 years ago

jwbarber commented 3 years ago

Hi I'm struggling to remotely debug python or C++ code within visual studio (VS) (and visual studio code) due to lack of root privileges. My code fails on the export calls within VS but runs fine when i run in on the R64 with sudo/root privileges. Have you been able to debug/run GPIO calls remotely within VS?

jwbarber commented 3 years ago

I can run the visual studio code fully without problems if I log onto my remote R64 from visual studio using root. How bad is it to use the root account from visual studio?