The errors you listed are what I get before I do the zadig setting, or when the zadiq setting is lost for some reason.
Error: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED
Error: libusb_open() failed with LIBUSB_ERROR_NOT_FOUND
Here is what I see on my computer (after zagid setting). Be careful with the zadig settings because I don’t know of a simple way to undo them. I use Acronis Try & Decide for risky stuff.
Windows device manager, before I plug in the debugger:
Windows device manager, after I plug in the debugger (only one port is added):
And I also see this:
In Zadig, interface 0 looks like this:
And interface 1 looks like this:
This is my platformio.ini. It uses the standard (non debugger related) USB/Serial port to run in release mode and the debugger to run in debug mode.
[env:esp32dev]
platform = espressif32@6.1.0
board = esp32dev
framework = espidf
monitor_speed = 115200
debug_tool=esp-prog
You may find more info in these links (which I bookmarked in my platformio.ini)