Skip to content

Commit

Permalink
Add 'Install Acorn' launch configuration for vscode
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Jan 20, 2023
1 parent 4e16d33 commit 60aa8f4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
"program": "${workspaceRoot}",
"args": ["run", "${input:acornfile}"],
"console": "integratedTerminal",
},
{
"name": "Install Acorn",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceRoot}",
"args": ["install", "--image", "${input:acornimage}"],
"console": "integratedTerminal",
}
],
"inputs": [
Expand All @@ -34,5 +43,11 @@
"default": ".",
"description": "The location of the Acorn to debug with. Can be a file or image."
},
{
"id": "acornimage",
"type": "promptString",
"default": "ghcr.io/acorn-io/acorn:main",
"description": "The image of Acorn to install."
},
]
}

0 comments on commit 60aa8f4

Please sign in to comment.