2019-11-12 22:08:17 +02:00
|
|
|
{
|
|
|
|
// 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": [
|
|
|
|
{
|
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",
|
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"start",
|
|
|
|
],
|
|
|
|
"cwd": "${workspaceFolder}/web",
|
|
|
|
"port": 3000,
|
|
|
|
"resolveSourceMapLocations": [
|
|
|
|
"${workspaceFolder}/web/**",
|
|
|
|
"!**/node_modules/**"
|
|
|
|
],
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
]
|
2019-11-12 22:08:17 +02:00
|
|
|
}
|
|
|
|
]
|
2021-06-22 12:34:35 +02:00
|
|
|
}
|