LinuxCommandLibrary

pio-debug

Debug PlatformIO projects.

TLDR

Debug the PlatformIO project in the current directory

$ pio debug
copy


Debug a specific PlatformIO project
$ pio debug --project-dir [path/to/platformio_project]
copy


Debug a specific environment
$ pio debug --environment [environment]
copy


Debug a PlatformIO project using a specific configuration file
$ pio debug --project-conf [path/to/platformio.ini]
copy


Debug a PlatformIO project using the gdb debugger
$ pio debug --interface=[gdb] [gdb_options]
copy

Copied to clipboard