Semaphore/.vscode/launch.json
2024-10-13 13:10:54 +00:00

42 lines
1.4 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "./cli/main.go",
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
"cwd": "${workspaceFolder}",
"env": {
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
}
},
{
"name": "Launch Server with remote Runner",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "./cli/main.go",
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
"cwd": "${workspaceFolder}",
"env": {
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}",
"SEMAPHORE_USE_REMOTE_RUNNER": "true"
}
},
{
"name": "Launch Runner",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "./cli/main.go",
"args": ["runner", "start", "--config", "${workspaceFolder}/.devcontainer/config-runner.json", "--log-level", "debug"],
"cwd": "${workspaceFolder}",
"env": {
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
}
}
]
}