Skip to content

Commit

Permalink
add VSCode launch config
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Barheine committed Oct 9, 2019
1 parent 74331b0 commit 19c3f7e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch CLI",
"type": "go",
"request": "launch",
"args": ["query", "--format", "table", "--columns", "domain", "limes_project_quota"],
"mode": "debug",
"program": "${workspaceFolder}/main.go",
"envFile": "${workspaceFolder}/.env"
},
{
"name": "Launch test package",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${file}"
},
{
"name": "Server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceRoot}/main.go",
"env": { "MAIA_DEBUG": "1" },
"args": [ "serve" ]
}
]
}

0 comments on commit 19c3f7e

Please sign in to comment.