| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "presentation": { | |
| "order": 2 | |
| }, | |
| "name": "GoAlert Frontend", | |
| "type": "chrome", | |
| "request": "launch", | |
| "url": "http://localhost:3030", | |
| "webRoot": "${workspaceFolder}/web/src/app/" | |
| }, | |
| { | |
| "name": "GoAlert Backend", | |
| "presentation": { | |
| "hidden": true | |
| }, | |
| "type": "go", | |
| "request": "launch", | |
| "mode": "debug", | |
| "program": "${workspaceFolder}/cmd/goalert/", | |
| "args": [ | |
| "-l=localhost:3030", | |
| "--ui-dir=web/src/build", | |
| "--db-url=postgres://goalert@localhost", | |
| "--listen-sysapi=localhost:1234", | |
| "--listen-prometheus=localhost:2112", | |
| "--smtp-listen=localhost:9025", | |
| "--email-integration-domain=localhost", | |
| "--listen-pprof=localhost:6060", | |
| "--pprof-mutex-profile-fraction=1", | |
| "--pprof-block-profile-rate=1000", | |
| "--enable-secure-headers" | |
| ], | |
| "cwd": "${workspaceFolder}" | |
| }, | |
| { | |
| "presentation": { | |
| "hidden": true | |
| }, | |
| "name": "Dev Tools", | |
| "type": "go", | |
| "request": "launch", | |
| "program": "${workspaceFolder}/devtools/runproc", | |
| "args": ["-f", "Procfile.tools", "-l", "Procfile.local"], | |
| "cwd": "${workspaceFolder}" | |
| } | |
| ], | |
| "compounds": [ | |
| { | |
| "name": "GoAlert Backend (incl. dev tools)", | |
| "presentation": { | |
| "order": 1 | |
| }, | |
| "configurations": ["Dev Tools", "GoAlert Backend"] | |
| } | |
| ] | |
| } | |