2019-11-12 20:08:17 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
2022-06-17 14:24:49 +00:00
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Woodpecker CI",
|
|
|
|
"configurations": [
|
|
|
|
"Woodpecker UI",
|
|
|
|
"Woodpecker server",
|
|
|
|
"Woodpecker agent"
|
|
|
|
],
|
|
|
|
"stopAll": true
|
|
|
|
}
|
|
|
|
],
|
2019-11-12 20:08:17 +00:00
|
|
|
"configurations": [
|
|
|
|
{
|
2021-07-19 13:36:33 +00:00
|
|
|
"name": "Woodpecker server",
|
2019-11-12 20:08:17 +00:00
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
2021-09-25 22:46:07 +00:00
|
|
|
"program": "${workspaceFolder}/cmd/server/",
|
2021-07-19 13:36:33 +00:00
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Woodpecker agent",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
2021-09-25 22:46:07 +00:00
|
|
|
"program": "${workspaceFolder}/cmd/agent/",
|
2019-11-12 20:08:17 +00:00
|
|
|
"cwd": "${workspaceFolder}"
|
2021-11-03 16:40:31 +00:00
|
|
|
},
|
2022-06-15 10:49:37 +00:00
|
|
|
{
|
|
|
|
"name": "Go: current file",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "debug",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"envFile": "${workspaceFolder}/.env",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"program": "${file}"
|
|
|
|
},
|
2021-11-03 16:40:31 +00:00
|
|
|
{
|
|
|
|
"name": "Woodpecker UI",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-10-08 14:15:07 +00:00
|
|
|
"runtimeExecutable": "pnpm",
|
2021-11-03 16:40:31 +00:00
|
|
|
"runtimeArgs": [
|
|
|
|
"start",
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}/web",
|
|
|
|
"resolveSourceMapLocations": [
|
|
|
|
"${workspaceFolder}/web/**",
|
|
|
|
"!**/node_modules/**"
|
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
]
|
2019-11-12 20:08:17 +00:00
|
|
|
}
|
|
|
|
]
|
2021-06-22 10:34:35 +00:00
|
|
|
}
|