It seems like VS Code debugging will reset debugger if you click to reset MCU. This somehow leads to it dropping RTT.
It further releases the CPU while reconnecting and halts the processor somewhere in init or idle loop of Zephyr depending on how slow it was to complete.
Most of startup information is thus lost as RTT was not read and became full.
Flashing of the device is also horribly slow, and sometimes fails to connect debug after flashing.
There also does not seem to be a way to connect to target for debug without reflashing.
1. Why not keep cpu properly in reset until ready to debug like Segger Studio used to do.
2. Why not keep RTT connected to receive all debug output.
3. How to speed up flashing
4. How to connect to debug target without reflashing