2019-11-12 20:08:17 +00: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 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
|
|
|
},
|
|
|
|
{
|
|
|
|
"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 20:08:17 +00:00
|
|
|
}
|
|
|
|
]
|
2021-06-22 10:34:35 +00:00
|
|
|
}
|