Debugging STM32L476 with System Workbench
Sorry, I’m not familiar with the debugger internals.
However I have had System Workbench suddenly lose the ability to connect/download to a target. When that happens I create a new empty project and get that working. Once it does, if the problem was not hardware related I copy my code to the new project as it is faster that figuring out what is wrong with the configuration files in the old project.