mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
365 lines
11 KiB
JSON
365 lines
11 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",
|
|
"tasks": [
|
|
{
|
|
"type": "docker-run",
|
|
"label": "docker-run: debug",
|
|
"dependsOn": [
|
|
"docker-build"
|
|
],
|
|
"dockerRun": {
|
|
"command": "nest start --debug 127.0.0.1:9229"
|
|
},
|
|
"node": {
|
|
"enableDebugging": true
|
|
}
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Node.js - Debug Current File",
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true,
|
|
"request": "launch",
|
|
"program": "${file}"
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/DashboardAPI",
|
|
"name": "Dashboard API: Debug with Docker",
|
|
"port": 9232,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/ApiReference",
|
|
"name": "API Reference: Debug with Docker",
|
|
"port": 9178,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/LinkShortener",
|
|
"name": "Link Shortener: Debug with Docker",
|
|
"port": 9826,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/TestServer",
|
|
"name": "Test Server: Debug with Docker",
|
|
"port": 9141,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Probe",
|
|
"name": "Probe: Debug with Docker",
|
|
"port": 9655,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/ProbeAPI",
|
|
"name": "Probe API: Debug with Docker",
|
|
"port": 9932,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Workflow",
|
|
"name": "Workflow: Debug with Docker",
|
|
"port": 9212,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/data-ingestor",
|
|
"name": "Data Ingestor: Debug with Docker",
|
|
"port": 9338,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Notification",
|
|
"name": "Notification: Debug with Docker",
|
|
"port": 9111,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Realtime",
|
|
"name": "Realtime: Debug with Docker",
|
|
"port": 9250,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Workers",
|
|
"name": "Workers: Debug with Docker",
|
|
"port": 9654,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/StatusPage",
|
|
"name": "Status Page API${cwd}: Debug with Docker",
|
|
"port": 9764,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/ProbeAPI",
|
|
"name": "Probe API: Debug with Docker",
|
|
"port": 9251,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Identity",
|
|
"name": "Identity: Debug with Docker",
|
|
"port": 9132,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Identity",
|
|
"name": "File: Debug with Docker",
|
|
"port": 9012,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Alert",
|
|
"name": "Alert: Debug with Docker",
|
|
"port": 9133,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/Alert",
|
|
"name": "Integration: Debug with Docker",
|
|
"port": 9134,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/licensing",
|
|
"name": "Licensing: Debug with Docker",
|
|
"port": 9233,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/HttpTestServer",
|
|
"name": "HTTP Test Server: Debug with Docker",
|
|
"port": 9234,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/home",
|
|
"name": "Home: Debug with Docker",
|
|
"port": 9235,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/script-runnner",
|
|
"name": "Script Runner: Debug with Docker",
|
|
"port": 9236,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"address": "127.0.0.1",
|
|
"localRoot": "${workspaceFolder}/InitScript",
|
|
"name": "Init Script: Debug with Docker",
|
|
"port": 9237,
|
|
"remoteRoot": "/usr/src/app",
|
|
"request": "attach",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true
|
|
},
|
|
{
|
|
"name": "CommonServer: Debug Tests",
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true,
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}/CommonServer",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"debug:test"
|
|
],
|
|
},
|
|
{
|
|
"name": "Accounts: Debug Local Files",
|
|
"type": "node",
|
|
"restart": true,
|
|
"autoAttachChildProcesses": true,
|
|
"request": "launch",
|
|
"cwd": "${workspaceRoot}/Accounts",
|
|
"runtimeExecutable": "npm",
|
|
"runtimeArgs": [
|
|
"run-script",
|
|
"dev"
|
|
],
|
|
}
|
|
]
|
|
} |