mirror of
https://github.com/portainer/portainer.git
synced 2025-08-10 08:15:25 +02:00
chore(dev): add debug config for vscode (#4756)
* chore(dev): add debug config for vscode * chore(ide): move vscode configs to an example folder
This commit is contained in:
parent
45afe76bc7
commit
590b6f69bf
3 changed files with 22 additions and 21 deletions
19
.vscode.example/launch.json
Normal file
19
.vscode.example/launch.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
// 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",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceRoot}/api/cmd/portainer/main.go",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"env": {},
|
||||
"showLog": true,
|
||||
"args": ["--data", "${env:HOME}/portainer-data", "--assets", "${workspaceRoot}/dist"]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue