Hello,
1) Please first check your SWD hardware design, there is a thread you can referto:
https://community.nxp.com/thread/388998
2) Which IDE do you used?
3) How about change to another debugger?
4) Please check device manager of your PC after connect debugger.
br
Alice