So you say that you are using a SEGGER J-Link. But the error message that you have attached in one from a LinkServer (generally CMSIS-DAP) debug connection. So please confirm exactly what set up you are using?
If you really are using a SEGGER J-Link, then I would recommend that you power down / power up your hardware and then delete any launch configuration files inside your project. Then try debugging again.
If you continue to see problems, please provide the full contents of your Debug log (from the debug message console). For more info, please See the MCUXpresso IDE v10.2 User Guide - in particular : chapter 4, "Debug Solutions Overview", section 18.8 "The Console View" and section 18.10, Using and troubleshooting LPC-Link2"
Regards,
MCUXpresso IDE Support