Hello,
Could you please try to create a new project build it and debug?
Please make sure blue and yellow LEDs both lights on P&E pod.
Could you try it with any other board if you have some.
Can you please attach the snapshot of the error you get (including details)?
Also the debugger log might help us to find the root cause.
To get the log please switch the console to GDB Traces (see below), copy and paste the log into a file and post it here.

Thank you!
Stan