2024-10-11 15:27:28 +02:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Launch Server",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "./cli/main.go",
|
2024-10-13 15:01:38 +02:00
|
|
|
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
|
2024-10-11 16:17:39 +02:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"env": {
|
2024-10-11 18:53:54 +02:00
|
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
|
2024-10-11 16:17:39 +02:00
|
|
|
}
|
2024-10-13 00:56:45 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Server with remote Runner",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "./cli/main.go",
|
2024-10-13 15:01:38 +02:00
|
|
|
"args": ["server", "--config", "${workspaceFolder}/.devcontainer/config.json"],
|
2024-10-13 00:56:45 +02:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"env": {
|
|
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}",
|
|
|
|
"SEMAPHORE_USE_REMOTE_RUNNER": "true"
|
|
|
|
}
|
2024-10-13 01:04:08 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Launch Runner",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "./cli/main.go",
|
2024-10-13 15:10:54 +02:00
|
|
|
"args": ["runner", "start", "--config", "${workspaceFolder}/.devcontainer/config-runner.json", "--log-level", "debug"],
|
2024-10-13 01:04:08 +02:00
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"env": {
|
|
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
|
|
|
|
}
|
2024-10-11 15:27:28 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|