The debugger is not starting and it is stuck at "Starting debugger.."

My nrf5340 debugging is not starting.

The code is running and I am able to see debug log in segger rtt viewer but unable to start the debugger.