commands.sh

pio debug

all

Debug PlatformIO projects.

More info →

Options (3)

-d, --project-dirboolean

Debug a specific PlatformIO project

Example: pio debug {{[-d|--project-dir]}} {{path/to/platformio_project}}
-e, --environmentboolean

Debug a specific environment

Example: pio debug {{[-e|--environment]}} {{environment}}
-c, --project-confboolean

Debug a PlatformIO project using a specific configuration file

Example: pio debug {{[-c|--project-conf]}} {{path/to/platformio.ini}}

Examples (5)

Debug the PlatformIO project in the current directory

Debug a specific PlatformIO project

pio debug [-d|--project-dir] path/to/platformio_project

Debug a specific environment

pio debug [-e|--environment] environment

Debug a PlatformIO project using a specific configuration file

pio debug [-c|--project-conf] path/to/platformio.ini

Debug a PlatformIO project using the `gdb` debugger

pio debug --interface gdb gdb_options
made by @shridhargupta | data from tldr-pages