[ISSUE] Particle: Flash for debug fails and puts device in error state. Also related to Failed to launch OpenOCD GDB. Server: Timeout

For the red SoS, debugging mesh on Gen3 can be problematic because of some hard real-time constraints that the debugger interferes with and can cause a fault.

https://docs.particle.io/tutorials/developer-tools/workbench/#disabling-mesh-networking

I don’t have personal experience but sounds like that may be part of what you are running into.