This is an example for setting up Golang project with VSCode using Air and Delve by running shell script. You can go read my Medium article about this project through this link
- Step 1. clone this repo
- Step 2. type "./run.sh start" in your CLI and enter
Editing a file will rebuild and restart the application automatically but VSCode debugger sadly indeed cannot reattach to your debug target