nrf5340 debugging restart is too slow

I was using earlier IAR and embedded segger IDE for previous nrf52 versions.

Recently Nordic moved to VS code and things are not smooth as earlier.

When I click debug, it loads the firmware to the nrf5340.

While debugging , if I want to restart the code from beginning, it loads the entire firmware again by erasing the chip.

This is really annoying and I am not sure why it is loading again by taking several seconds ?

Is there any workaround for solving this, coz it really affects the debugging time.

Related