{ "version": "0.2.0", "configurations": [ { "name": "toggle source", "type": "go", "request": "launch", "mode": "debug", "remotePath": "", "port": 38697, "host": "127.0.0.1", "program": "${workspaceFolder}", "env": { }, "args": ["-srn", "BRB", "source", "-t"], "cwd": "${workspaceFolder}", "envFile": "${workspaceFolder}/.env", "buildFlags":"" }, { "name": "Debug Program", "type": "go", "request": "launch", "mode": "debug", "remotePath": "", "port": 38697, "host": "127.0.0.1", "program": "${workspaceFolder}", "env": { }, "args": ["-h"], "cwd": "${workspaceFolder}", "envFile": "${workspaceFolder}/.env", "buildFlags":"" }, { "name": "Debug current package", "type": "go", "request": "launch", "mode": "debug", "remotePath": "", "port": 38697, "host": "127.0.0.1", "program": "${fileDirname}", "env": { }, "args": [], "cwd": "${workspaceFolder}", "envFile": "${workspaceFolder}/.env", "buildFlags":"" }, { "name": "Launch test function", "type": "go", "request": "launch", "mode": "test", "program": "${workspaceFolder}", "args": [ "-test.run", "MyTestFunction" ] }, { "name": "Attach main", "type": "go", "request": "attach", "mode": "debug", "remotePath": "", "port": 38697, "host": "127.0.0.1", "program": "${workspaceFolder}/main.go", "env": { }, "args": [], "cwd": "${workspaceFolder}", "processId":"", "envFile": "${workspaceFolder}/.env", "buildFlags":"" }, { "name": "Attach to Process", "type": "go", "request": "attach", "mode": "local", "processId": 0 }, { "name": "Launch file", "type": "go", "request": "launch", "mode": "debug", "program": "${file}" } ] }