$ gdb blink.elf
> target remote localhost:3333
> monitor reset init
> continue
GDB doesn’t work on all platforms. Use one of the following alternatives instead of gdb, depending on your operating
system and device:
•
On Linux devices that are not Raspberry Pis, use gdb-multiarch.
•
On Arm-based macOS devices, use lldb.
Getting started with Raspberry Pi Pico-series
Debug with OpenOCD 24