PlatformIO Community

Using the Debugging Tools

I’ve been told that the Debugging Tools on Platform IO don’t work well. We’ve been using Serial.print statements only for debugging. Is there any good documentation on the Debugging tools and does anyone know if the Debugging Tools work?


Debugging works great, in particular in Visual Studio Code. Here’s a list of tutorials.

You will have to connect your MCU via debug probe (ST-Link, J-Link etc.) Some boards come with an integrated debug probe (e.g. many Nucleo boards).

Limitations are usually due to the microcontroller. As an example: The ESP32 only support two break points; one of them is used for single stepping.

We can give you more hints if you tell us what board you are using.