pio debug

Debug PlatformIO projects. More information: https://docs.platformio.org/en/latest/core/userguide/cmd_debug.html.

pio debug

pio debug --project-dir path/to/platformio_project

pio debug --environment environment

pio debug --project-conf path/to/platformio.ini

pio debug --interface=gdb gdb_options