Adding debug support to a non-ARM EABI board type

Thanks for the update. If you end up still running into that problem with the debug.toolchain.prefix property, please let me know and I'll investigate.

I'm using this nice little open source CMSIS-DAP compliant debug probe:

It works perfectly with the SAMD boards and the Arduino IDE 2.x integrated sketch debugger.

The creator Alex Taradov also suggests a DIY debug probe based on a RPi Pico board in the description of that product listing. I haven't found the time to try that out yet, but I would guess it would work fine with the sketch debugger.

You should be able to use any CMSIS-DAP compliant debug probe. I know some of the Arduino Tooling Team members have personally verified that the Atmel-ICE debugger can be used. That one is more spendy than the Alex Taradov debug probe or the J-Link EDU Mini, but at least is more affordable than the professional J-Link probes and you might happen to have access to one already.

The Segger J-Link EDU Mini will also work fine, but you should be aware that the J-Link debug probes aren't "plug and play" like the CMSIS-DAP compliant debug probes. You will need to install the required tools manually and add a configuration file to the sketches you want to debug. You can learn about that from this tutorial:

https://docs.arduino.cc/tutorials/mkr-wifi-1010/mkr-jlink-setup