From a305ca36ce82dd544556a02236ee7bdbcd0b672b Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Fri, 5 Jul 2024 13:35:33 +0200 Subject: [PATCH] move vslaunch to top level and add react launcher --- .vscode/launch.json | 31 +++++++++++++++++++++++++++++++ machinery/.vscode/launch.json | 18 ------------------ 2 files changed, 31 insertions(+), 18 deletions(-) create mode 100644 .vscode/launch.json delete mode 100644 machinery/.vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..91d3c31 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,31 @@ +{ + // 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": "Launch Golang", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "${workspaceFolder}/machinery/main.go", + "args": [ + "-action", + "run" + ], + "envFile": "${workspaceFolder}/machinery/.env", + "buildFlags": "--tags dynamic", + }, + { + "name": "Launch React", + "type": "node", + "request": "launch", + "cwd": "${workspaceFolder}/ui", + "runtimeExecutable": "yarn", + "runtimeArgs": [ + "start" + ], + } + ] +} \ No newline at end of file diff --git a/machinery/.vscode/launch.json b/machinery/.vscode/launch.json deleted file mode 100644 index 505a4a5..0000000 --- a/machinery/.vscode/launch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - // 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": "Launch Package", - "type": "go", - "request": "launch", - "mode": "auto", - "program": "main.go", - "args": ["-action", "run"], - "envFile": "${workspaceFolder}/.env", - "buildFlags": "--tags dynamic", - }, - ] -} \ No newline at end of file