# Debugging Targets of idf.py

DevFeed: [Debugging Targets of idf.py](<https://devfeed.tech/articles/debugging-targets-of-idf-py-13828.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/debugging-targets-of-idf.py/>)

Author: John Lee

Published: 2020-06-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [debugging](<https://devfeed.tech/topics/debugging.md>), [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [ESP32](<https://devfeed.tech/topics/esp32.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [gdb](<https://devfeed.tech/tags/gdb.md>), [gpio](<https://devfeed.tech/tags/gpio.md>), [ide](<https://devfeed.tech/tags/ide.md>), [idf-py](<https://devfeed.tech/tags/idf-py.md>), [iot](<https://devfeed.tech/tags/iot.md>), [jtag](<https://devfeed.tech/tags/jtag.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

This article explains how to use the debugging targets added to idf.py in ESP-IDF v4.2. It covers command-line workflows for OpenOCD, GDB, GDB TUI, IDF Monitor, and the gdbgui debug server, including JTAG requirements and configuration overrides.

## Source excerpt

This article outlines a quick and easy way to start a debugger from the command line. More specifically, it discusses the debugging targets of idf.py, which have been added to ESP-IDF from v4.2. At the time of writing, IDF v4.2 is not released yet, but you can try out this feature on the master branch. Why Do We (Not) Debug# Debugging is an essential development technique, no less so for embedded platform engineers.