In JTAG Debugging the ESP32 with FT2232 and OpenOCD I have used a FTDI FT2232 breakout board to JTAG debug with OpenOCD. With an adapter board on top of the TDI FT2232 the wiring is much easier and simpler to use:
In “Eclipse JTAG Debugging the ESP32 with a SEGGER J-Link” I used a SEGGER J-Link to debug an ESP32 device with JTAG. I looked at using one of the FTDI FT2232HL development boards which are supported by OpenOCD. The FT2232HL is dual high-speed USB to UART/FIFO device, and similar FTDI devices are used on many boards as UART to USB converters. With OpenOCD these devices can be turned into inexpensive JTAG debug probes. This article shows how to use a $10 FTDI board as JTAG interface to program and debug the Espressif ESP32.