Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 482 Bytes

DEBUGGING.md

File metadata and controls

23 lines (19 loc) · 482 Bytes

Running the API with VS-Code debugger

  1. 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"

    }
  ]
}
  1. Export AWS credentials to a .env file in the root of the repo
  2. Run the debugger for this profile