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