Problem with Wing debugging a python script from terminal
in Ubuntu 20.04 I want to lauch a python script from terminal window as sudo. I use wingdbstub and it starts OK. I would like the output and input (especially password inputs) to be done from the terminal window. in the debugger preferences. I clicked on the use external console . I added the exo-open --launch TerminalEmulator . Now I can start the program from the terminal window . At first break point I get into the wing debugger and the breakpoint works. But inside a subprocess.run, the debugger does not use the terminal window to ask for password. and keeps waiting for the password!....
That's odd and sounds like it may be a bug. Does it work if you uncheck the Debugger > Advanced > Use sys.std Wrapper preference?
Thanks for our quick response. I cannot try again right now because I modified my project structure and I am no longer able to launch the python script. I will come back later to this.
yes it works if I unclick the sys.std wrapper