- Create the file
.vscode/launch.json
and copy this launch configuration in.
{
"version": "0.2.0",
"configurations": [
{
"name": "Run CommonFate ",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "cmd/server/main.go",
"envFile": "${workspaceFolder}/.env"
}
]
}
- Export AWS credentials to a .env file in the root of the repo
- Run the debugger for this profile