ESP32 & PIO Unified Debugger

I do the next:

  1. Set manual breakpoint in IDE to void loopTask(), line 13 in your example
  2. Start debug session
  3. Wait when it will stop at app_main()
  4. Press continue, it will run all tasks and should stop at void loopTask()
  5. After that, step-by-step works without issues. Be sure that you selected loopTask thread in CALL STACK