Debugging a Zephyr program with GDB can be tough for newcomers, especially if they're used to more vertically integrated IDE solutions. Let's get hardware engineers (and others!) started digging into a command-line based solution.
Golioth firmware engineer Mike Szczys walks through debugging the MCUboot bootloader using gdb. This is a slightly different task than normal Zephyr debugging, but can help to find tricky bugs.
Zephyr has built-in debugging for many of its supported boards. Here's a real-world example of utilizing the these tools to track down and fix a networking error with CoAP.