Getting started with ARM code debugging

Everyone on this thread is talking about on-chip debugging using a hardware debugger connected to either the SWD or JTAG interface of an ARM microcontroller.