Question:
How do I launch GDB from launch.json?
What is the syntax and where does it go?
Background
The .json file is located in the .vscode folder for the project.
I’m using the ESP_PROG board for debugging.
When I do a Run > Start Debugging for flashing the ESP32 I get the pop-up message that states:
Failed to launch GDB: .pioinit 15, etc.
There’s a button on the bottom of the pop-up that says “Open launch.json”.
Within the VSC env I installed: MSYS2/Cygwin/MinGW/Clang. This has GDB.
I verified the dir: C:\MinGW\bin has the file mingw-get. This file has GDB.
At this point, I can’t find anything that tells me exactly what to do to mod the launch.json.
Any suggestions?