Either see Redirecting... for using debug_tool = custom
and debug_port = localhost:3333
etc for using a pre-opened openocd server, or modify this code locally on your machine
to say openocd_args = ["-d3"]
(or any other debug level. This file should be in <home directory>/.platformio/platforms/esp32/builder/main.py
.
Upload and stepping worked fine? Then there’s something with the timing. Running on -d3
adds a considerable amount of debug output and delay between individual executions of commands, which may influence things just in the right direction.