If JTAG Debugging - ESP32 - — ESP-IDF Programming Guide latest documentation is truely correct with its
JTAG adapters that are hardcoded to a specific product line, e.g. ST-LINK debugging adapters for STM32 families, will not work.
Then I’m afraid there’s not much to do other than buy a supported JTAG adapter, like the standard ESP-PROG.