Skip to content

Instantly share code, notes, and snippets.

@benmatselby
Last active August 26, 2023 19:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save benmatselby/84c880a63cc2ac93d7e01fff8d33e217 to your computer and use it in GitHub Desktop.
Save benmatselby/84c880a63cc2ac93d7e01fff8d33e217 to your computer and use it in GitHub Desktop.
Cobra vscode debug config
{
// 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 file",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/main.go",
"args": ["--help"] // Add an erray of application arguments here
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment