Running a script as sudo from Wing IDE
Hi, I have Python code that uses the bluetooth module. One of the bluetooth calls I'm doing needs sudo permission (advertise_service()).
When running the script on the command line on a RPi, I simply do this: sudo python3 <name_of_script>. That works perfect.
However, if I want to debug that script from within Wing IDE (remotely), how can I start the debug session of that script as sudo?
Best,
--Geert
Comments