File size: 1,514 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
  "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"]
    }
  ]
}