diff --git a/.vscode/launch.json b/.vscode/launch.json index 906262d2f..714f11b63 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,14 +2,18 @@ "version": "0.2.0", "configurations": [ { - "name": "Launch Package", + "name": "Debug Package", "type": "go", "request": "launch", - "mode": "auto", + "mode": "debug", "program": "${workspaceFolder}/cmd/gotosocial", "args": [ "testrig", "start" ], + "buildFlags": "-tags='netgo osusergo static_build kvformat debugenv'", + "env": { + "DEBUG": "1", + }, "cwd": "${workspaceFolder}" } ]