Problems with ESP32 and built-in JTAG debugging

Hello, I have an issue when debugging code with PIO, ESP32-S3, and the built-in JTAG interface.

Downloading of code works fine, however, when starting debugging with a breakpoint set, or with “tbreak setup” in the PIO INI file, the target does not stop. If the “pause/break” button is pressed the target stops and when continuing, it stops at breakpoints that were already set before starting the session.

This makes debugging startup code hard, is there a solution please?

This is my INI file:

[env:um_feathers3]
platform = espressif32
board = um_feathers3
debug_tool = esp-builtin
upload_port = COM4
debug_speed = 10000
debug_init_break = tbreak setup
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
framework = arduino
lib_deps =
adafruit/Adafruit SHT31 Library@^2.2.2
adafruit/Adafruit BusIO@^1.15.0
wire
spi

Does this also happen in the simplest most sketch with no lib_deps and blinky?

Yes, although I added those lib_defs the project is a simple “new project” generated by PIO.