add .vscode launch file

This commit is contained in:
Cedric Verstraeten 2023-05-06 08:46:31 +02:00
parent 1a6dc27535
commit 99cc7d419f
2 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -10,4 +10,5 @@ machinery/data/recordings
machinery/data/snapshots
machinery/test*
machinery/init-dev.sh
machinery/.env
deployments/docker/private-docker-compose.yaml

View File

@ -9,7 +9,10 @@
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${fileDirname}"
}
"program": "main.go",
"args": ["run", "cameraname", "8080"],
"envFile": "${workspaceFolder}/.env",
"buildFlags": "--tags dynamic",
},
]
}