Hello,
question like this is good to place under MbedStudio section and not Mbed OS.
However, the list of supported boards, what are officially supported with debug functionality under the MbedStudio, you can be found here.
And maybe helpful can be this topic - Enabling Mbed Studio Debug Session - Mbed OS - Arm Mbed OS support forum
BR, Jan