When trying to debug the "hello world" zephyr sample application in VS Code, the system seems to never hit the main function.
Any breakpoints set in "main" are never hit, and if the debugger is stopped, it always displays "cpu_idle.S:158" as the current instruction.
To make sure the system is not constantly restarting, a breakpoint was also placed in the first line of "z_arm_prep_c", and it is, in fact, it is only hit once (when restarting the MCU)
The solution proposed in "">devzone.nordicsemi.com/.../hello_world-debug-problem-on-nrf52840dk" also doesn't help in this case.
V2.0.0 of the nRF Connect SDK is being used along with an unmodified custom board definition created for the NRF52805 SoC