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