diff --git a/.vscode/launch.json b/.vscode/launch.json index cc94352e0f..6f4dec6ab8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,6 +10,18 @@ "serve" ], "envFile": "${workspaceFolder}/.env.local", + }, + { + "name": "Migrate", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceFolder}/cmd/spicedb/main.go", + "args": [ + "migrate", + "head" + ], + "envFile": "${workspaceFolder}/.env.local", } ] } \ No newline at end of file