In preamble, please note I'm a very new user in VScode. In a current project i'm involved, the workflow is more of less the following one: A main bash script is run to load modules and specific variables The previous script loads a "main.py" python file: its role is to chain different external softs and python codes The external softs ask as well python scripts on his own The script is run in a remote server (under Linux os whereas i'm under Windows one), but now difficulty now on this topic. I'm using the Python debugger "attach" and i'm facing the current difficulty if the first break point is set in the "main.py" file, it's ok; i can add another ones in the same file tu use continue and so on however if i add a breakpoint in another python file (python file (2) here after) using either vscode idle (red point) or even a "debugpy.breakpoint()", it is simply bypassed if my first breakpoint is set to python file 2, the debugging stops BUT it is waiting for the debugger attach (i've no control to run it) 1rst breakpoint add: import debugpy debugpy.listen(5678) print("Waiting for debugger attach") debugpy.wait_for_client() debugpy.breakpoint() i guess i should additional information, but which ones ? what am i missing To summary the program workflow: bash script ------> main.py ----------> external soft1 ----> etc | | | | external soft2 python file (2) Thanks Paul Continue reading...