add test app launch config

This commit is contained in:
Milos Pejanovic 2023-01-30 09:18:44 +01:00
parent 28e7100ce4
commit 1f01f09685
2 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -17,5 +17,6 @@
.todo
.idea/
.vscode/
!test/app/.vscode/
bin/

20
test/app/.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
// 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": "Connect to server",
"type": "go",
"debugAdapter": "dlv-dap", // `legacy` by default
"request": "attach",
"mode": "remote",
"port": 2345,
"host": "127.0.0.1",
"substitutePath": [
{ "from": "${workspaceFolder}/test/app", "to": "/" },
]
},
]
}