Open aaron-neal opened 2 weeks ago
Hi @aaron-neal, does it work if you remove the debug_init_break
option?
Hi @valeros, thanks for getting back to me. I will have to check later today, I did however notice the "2 locations" for the setup function so I renamed one of the functions in a library to see if this was the issue, but still did not work.
I also span up a linux VM to test and I had the same issue as on my Windows install.
I haven't tried with a simple blink sketch yet, but plan to do that as well.
I am trying to debug an ESP32-S2 board. I have succesfully connected the ESP-PROG board and can perfectly program the ESP32 from VS Code over ESP-PROG.
When i press debug, everything seems to work fine, except no breakpoints get hit in VS Code, it seems as if the debugger connects, but doesn't attach to VScode.
platformio.ini
Debug Console log
However, it appears the code isn't halted (watchdog LED is flashing) and no breakpoints are hit, including at setup.
Any help greatly appreciated.