Arduino IDE 2.3.2 on OS X Debugger with ESP32

This maybe a silly question (I'm new to Arduino) "Heltec WiFi LoRa 32 (V3)" is my first micro controller.
I'm using Arduino IDE 2.3.2 on OS X, I believe I have everything setup correctly, I can execute the code on the microcontroller.

I just can't get the debugger to work. So my first question is it supposed to work?
If it is what could I be missing?

When I try to us debugger in the gdb-server tab I keep seeing errors such as:

Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Error: esp_usb_jtag: could not find or open device!

Hi @probert100. Do you have a hardware debug probe connected between your computer and the ""Heltec WiFi LoRa" board?

In order to use the Arduino IDE 2.x integrated sketch debugger with an ESP32-based board, you must have a special piece of hardware called a "debug probe", and you must make the correct connections between the pins on the debug probe and the pins on the ESP32.

You can see an example of a suitable debug probe here:

https://docs.espressif.com/projects/esp-iot-solution/en/latest/hw-reference/ESP-Prog_guide.html

Thank you so much!
I do not have that device. I will need to get one.

You are welcome. I'm glad if I was able to be of assistance.

Espressif sells them for a very reasonable price. They are available on Amazon:

And also from common electronics suppliers like Digikey and Mouser.

Regards, Per

1 Like