Custom

Configuration:debug_tool = custom

PIO Unified Debugger can be configured from “platformio.ini” (Project Configuration File):

Examples

pyOCD and CMSIS-DAP

Using pyOCD for CMSIS-DAP based boards

Firstly, please install pyOCD and check that pyocd-gdbserver --version command works.

[env:debug]
platform = ...
board = ...
framework = mbed
debug_tool = custom
debug_server = pyocd-gdbserver