You don’t need the launch.json
just delete it.
Instead of the the lauch.json
open the VSCode settings, at the top of the setting switch to the “Workspace” (or “Folder” if you have folders there) and search for the following settings:
robotcode.debug.attachPython
switch this on
debugpy.debugJustMyCode
switch this off
your settings.json
of your project should now have to entries like this:
{
"debugpy.debugJustMyCode": false,
"robotcode.debug.attachPython": true
}