With all of the new vscode-based editors out there (Cursor, Antigravity, and of course VS Code itself), I find myself having to reconfigure editors all the time.

Here are some snippets of vs code debug configuration to easily copy-paste as needed.

Go #

Running a command line tool #

I’ve used this for when I’m trying to debug aepcli

       {
          "name": "Debug Command Line App",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            // or path to command line
            "program": "${workspaceFolder}/cmd/aepcli",
           "args": [
               "http://localhost:8000/openapi.json"
            ]
        }