What does minicom -b 115200 -D /dev/ttyUSB0 give you, and how is it different from the JTAG connection?
It opens a serial terminal on the board's USB-UART bridge at 115200 baud, so you see whatever the firmware prints. JTAG is a separate channel that controls the CPU itself.
* The serial link carries what the program prints; the JTAG path controls the CPU. *
The ESP32-DevKitC has a USB-to-UART chip that shows up on Linux as /dev/ttyUSB0. The firmware's printf output (boot log, prompts, messages) goes out over that UART, and minicom displays it. -b 115200 sets the baud rate, which must match the firmware's console setting (115200 is the ESP-IDF default), and -D picks the device.
| Channel | Path | What it can do |
|---|---|---|
| Serial monitor | USB cable to the DevKitC's UART bridge | Read what the program prints, type input to it, flash with esptool |
| JTAG | FT232H adapter on GPIO12-15 | Halt the CPU, set breakpoints, read and write memory and registers |
So the serial console shows the behaviour of the program and JTAG exposes its internals. In a debugging session you use both side by side. Quit minicom with Ctrl+A then X; idf.py monitor is an alternative that also decodes crash backtraces.
Go deeper:
ESP-IDF — IDF Monitor — the ESP-aware serial monitor and its backtrace decoding.
Wikipedia — Minicom — the classic text-mode serial terminal.