Revision history [back]
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 . 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
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 . 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
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 . 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
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 . 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
Running a script as sudo from Wing IDE
Hi,
I Hi,I have Python code that uses the bluetooth module. One of the bluetooth calls I'm doing needs sudo permission (advertise_service()).
When (advertise_service()).When running the script on the command line on a RPi, I simply do this: sudo python3 . That works perfect.
However, 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,
--Geertsudo?Best,--Geert