I have set up the PIO Unified debugger, using an ESP-PROG, to debug ESP32 projects, according to Andreas Spiess’ great Youtube video. When I do “Start debugging” in Visual Studio Code I get the following error message window (I could not attach a screen shot):
Visual Studio Code
Could not find the specified task.
The options are: “Configure task”, “Open launch.json” and “Cancel”.
I have an PlatformIO account and I have added these lines to the platformio.ini file:
debug_tool = esp-prog
debug_init_break = tbreak setup
I have added the drivers for both ports on the ESP-PROG.
My versions are:
VS Code 1.42.1
PlatformIO IDE 1.10.0
Any ideas on what could be the problem?