woodpecker/.vscode/launch.json

50 lines
1.2 KiB
JSON
Raw Normal View History

{
"version": "0.2.0",
"compounds": [
{
"name": "Woodpecker CI",
2023-10-24 12:42:05 +00:00
"configurations": ["Woodpecker UI", "Woodpecker server", "Woodpecker agent"],
"stopAll": true
}
],
"configurations": [
{
"name": "Woodpecker server",
"type": "go",
"request": "launch",
"mode": "debug",
2021-09-25 22:46:07 +00:00
"program": "${workspaceFolder}/cmd/server/",
"cwd": "${workspaceFolder}"
},
{
"name": "Woodpecker agent",
"type": "go",
"request": "launch",
"mode": "debug",
2021-09-25 22:46:07 +00:00
"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": "pnpm",
2023-10-24 12:42:05 +00:00
"runtimeArgs": ["start"],
"cwd": "${workspaceFolder}/web",
2023-10-24 12:42:05 +00:00
"resolveSourceMapLocations": ["${workspaceFolder}/web/**", "!**/node_modules/**"],
"envFile": "${workspaceFolder}/.env",
2023-10-24 12:42:05 +00:00
"skipFiles": ["<node_internals>/**"]
}
]
}