I’ve bumped up the user level.
Sorry must be two separate commands, the latter on in the GDB shell. First
~/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gdb .pio/build/esp-wrover-kit/firmware.elf
and then in GDB
target extended-remote localhost:3333
You can then also try
monitor init
load
monitor reset halt
break setup
continue