Skip to content

Instantly share code, notes, and snippets.

@ilaif
Created April 19, 2022 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ilaif/9e03f43c27038197be24e0fc3324895c to your computer and use it in GitHub Desktop.
Save ilaif/9e03f43c27038197be24e0fc3324895c to your computer and use it in GitHub Desktop.
{
"configurations": [
{
"name": "Run with Velocity",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"envFile": "${workspaceFolder}/.env.velocity",
"preLaunchTask": "veloctl-attach-worker",
"postDebugTask": "veloctl-clean-env-file"
},
{
"name": "Debug with Velocity",
"type": "go",
"request": "attach",
"mode": "remote",
"remotePath": "${workspaceFolder}",
"port": 2345,
"host": "127.0.0.1",
"preLaunchTask": "veloctl-develop",
"postDebugTask": "veloctl-kill"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment