mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
9f7b72f9a9
Co-authored-by: Zav Shotan <zshotan@bloomberg.net>
53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
// 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": [
|
|
{
|
|
"name": "Woodpecker server",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceFolder}/cmd/server/",
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Woodpecker agent",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceFolder}/cmd/agent/",
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Go: current file",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"console": "integratedTerminal",
|
|
"envFile": "${workspaceFolder}/.env",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": "${file}"
|
|
},
|
|
{
|
|
"name": "Woodpecker UI",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "yarn",
|
|
"runtimeArgs": [
|
|
"start",
|
|
],
|
|
"cwd": "${workspaceFolder}/web",
|
|
"port": 3000,
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/web/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
]
|
|
}
|
|
]
|
|
}
|