Hello @ptillisch,
Thank you for making me read through the Debugging Guide once more.
I have finally got debugging to work:
- I installed the IDe ver. 2.2.1
- I set the IDE according to the Debugging Guide. Debug Mode: Hardware CDC is important.
- I then uploaded a sketch using "Upload using Programmer".
- Afterwards I the device USB-ID was:
Bus 001 Device 089: ID 303a:1001 Espressif USB JTAG/serial debug unit - If the Nano ESP32 is placed in boot mode it will identify itself as:
Bus 001 Device 088: ID 2341:0070 Arduino SA Nano ESP32. Debugging will not work in this mode.
To use builtin debugging the device must not be in boot mode! Make sure it identifies itself as: Espressif USB JTAG/serial debug unit
I hope this helps anyone still having trouble getting the debugging to work.