Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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 <name_of_script>.  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

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

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

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