2019-11-12 20:08:17 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
2022-06-17 14:24:49 +00:00
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Woodpecker CI",
|
2023-10-24 12:42:05 +00:00
|
|
|
"configurations": ["Woodpecker UI", "Woodpecker server", "Woodpecker agent"],
|
2022-06-17 14:24:49 +00:00
|
|
|
"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",
|
2023-10-24 12:42:05 +00:00
|
|
|
"runtimeArgs": ["start"],
|
2021-11-03 16:40:31 +00:00
|
|
|
"cwd": "${workspaceFolder}/web",
|
2023-10-24 12:42:05 +00:00
|
|
|
"resolveSourceMapLocations": ["${workspaceFolder}/web/**", "!**/node_modules/**"],
|
2023-12-13 13:11:05 +00:00
|
|
|
"envFile": "${workspaceFolder}/.env",
|
2023-10-24 12:42:05 +00:00
|
|
|
"skipFiles": ["<node_internals>/**"]
|
2019-11-12 20:08:17 +00:00
|
|
|
}
|
|
|
|
]
|
2021-06-22 10:34:35 +00:00
|
|
|
}
|