Works for Windows by using an executable that'll inject a dll to a process and call a function. Note: https://github.com/fabioz/winappdbg is used just to determine if ...
To run a script file with debugging enabled, but without waiting for the client to attach (i.e. code starts executing immediately): -m debugpy --listen localhost:5678 myfile.py To wait until the ...