Skip to content

Commit

Permalink
Avoid warning by switch to future debug adapter default
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Feb 26, 2024
1 parent 92052c0 commit e1a7002
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"name": "Debug CLI",
"type": "go",
"mode": "auto",
"debugAdapter": "dlv-dap",
"request": "launch",
"program": "${workspaceFolder}/main.go",
"buildFlags": "-ldflags=-X=github.com/stateful/runme/internal/version.BuildVersion=99.9.9",
Expand All @@ -19,6 +20,7 @@
"name": "Debug server",
"type": "go",
"mode": "auto",
"debugAdapter": "dlv-dap",
"request": "launch",
"program": "${workspaceFolder}/main.go",
"buildFlags": "-ldflags=-X=github.com/stateful/runme/internal/version.BuildVersion=99.9.9",
Expand All @@ -36,6 +38,7 @@
"type": "go",
"request": "attach",
"mode": "remote",
"debugAdapter": "dlv-dap",
"remotePath": "${workspaceFolder}/main.go",
"port": 56379,
"host": "127.0.0.1"
Expand Down

0 comments on commit e1a7002

Please sign in to comment.