You should probably try to get the debug connection working standalone outside of any IDE first to eliminate unnecessary complications.
E.g. you seem to be using a J-Link and the Segger software to connect rather than, say, OpenOCD, so you should try using that software alone to see if you can get a connection. Verbose logs may help identify what's going on/wrong.
It looks like it's maybe (I'm not sure and haven't used J-Kink for a while now) getting a basic connection but then the target isn't halting properly after reset/halt. It's difficult to speculate why this might be happening without more details.
You could also maybe try OpenOCD to see if that behaves why differently. If the same issue occurs there then you should look at the verbose openocd -d3 log for clues as to what's happening.
BTW It's better to post logs rather than screenshots as the latter aren't easy for everybody to view and they don't facilitate searching/processing of text information etc.