Skip to content

Commit

Permalink
Debug migrate command in VSCode
Browse files Browse the repository at this point in the history
Adds a VSCode launch config for debugging the 'migrate' command.
  • Loading branch information
alecmerdler committed Mar 7, 2024
1 parent 3edd2f6 commit 7245185
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
]
}

0 comments on commit 7245185

Please sign in to comment.