Type: String | Multiple: Yes | Default: See details...

Initial commands that will be passed to back-end debugger.

PlatformIO dynamically configures back-end debugger depending on a debug environment. Here is a list with default initial commands for the popular Tools & Debug Probes.

For example, the custom initial commands for GDB:

platform = ...
board = ...
debug_init_cmds =
  target extended-remote $DEBUG_PORT
  monitor reset halt
  monitor init
  monitor reset halt