Thanks. It's now working for me. The important point is to ensure that all breakpoints are deleted before pressing F5 (continue). The "Remove All Breakpoints" step ensures that you only need to manually remove one breakpoint. The "Run and Debug" item is found here: When the debugger initially connects, the "snap" program is running -- not your application. I don't think Visual Studio Code expects this, and perhaps that's why you have to remove all breakpoints now? The first three times I press F5, execution stops again inside "snap". The fourth time I press F5, it starts my program. (It says "dash" initially because snap uses wrapper scripts; but a few lines further down, the program starts.) ... and stops on the line that calls "raise(SIGSTOP)". As expected, the Terminal window now displays the "waiting for debugger" message that precedes the "raise(SIGSTOP)" call. As the documentation states, it's now possible to add breakpoints and continue or step as needed.
... View more