Jiameng,
I have not used the trace support in MCUxpresso for Cortex-m33; however, the IDE supports SWO trace. If you need immediate use of 5-pin trace support, you can use Segger Ozone.
The Ozone may enable the trace clock prior to single step debug, when the BootClockRun() is executed, the trace clock will increase as well. This can cause issue to the instruction trace decode in ozone. Disable the trace in ozone, then disable trace clock. After, BootClockRun(), you can re-enable the trace clk and trace support in ozone.
trace d1 data pin is muxed with other component (I2S_DATA_TX and CLKOUT), trace speed will be limited.
Regards,
TsiChung