From 99cc7d419f08a9d41290ccd55ce65020ad77f355 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sat, 6 May 2023 08:46:31 +0200 Subject: [PATCH] add .vscode launch file --- .gitignore | 1 + {.vscode => machinery/.vscode}/launch.json | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) rename {.vscode => machinery/.vscode}/launch.json (67%) diff --git a/.gitignore b/.gitignore index 1badc01d..70b23fc8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ machinery/data/recordings machinery/data/snapshots machinery/test* machinery/init-dev.sh +machinery/.env deployments/docker/private-docker-compose.yaml \ No newline at end of file diff --git a/.vscode/launch.json b/machinery/.vscode/launch.json similarity index 67% rename from .vscode/launch.json rename to machinery/.vscode/launch.json index 608d3c69..93aef948 100644 --- a/.vscode/launch.json +++ b/machinery/.vscode/launch.json @@ -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", + }, ] } \ No newline at end of file