fix: add vscode local debugging support (#2585)

This commit is contained in:
Satinder Singh
2024-01-06 17:26:33 -08:00
committed by GitHub
parent 86dea71efd
commit c542929835
3 changed files with 19 additions and 1 deletions

15
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}",
"cwd": "${workspaceFolder}",
"debugAdapter": "dlv-dap",
"args": ["--createDatabase=true"]
}
]
}