Some Arduino boards have debug port signals exposed on the bottom side of the board. Here is a guide how to use them with the PlatformIO debugger and say goodbye the Serial.print
debugging…
The debug port is available on Atmel SAMD21 and Nordic Semiconductor nRF52840 based Arduino boards. The debugger currently works for the SAMD21 boards (incl. ones from Adafruit and SparkFun). The nRF52840 based Arduino boards (Arduino Nano 33 BLE & BLE Sense) introduced a new Mbed OS based Arduino Core and are not supported yet by PlatformIO.