-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathocisDebugConfig.json
43 lines (41 loc) · 1.34 KB
/
ocisDebugConfig.json
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
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch"
},
{
"name": "Debug remote :40000",
"type": "go",
"request": "attach",
"mode": "remote",
"port": 40000
},
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": [
"server"
],
"env": {
// log settings for human developers
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
// set insecure options because we don't have valid certificates in dev environments
"OCIS_INSECURE": "true",
// enable basic auth for dev setup so that we can use curl for testing
"PROXY_ENABLE_BASIC_AUTH": "true",
"PROXY_HTTP_ADDR":"0.0.0.0:9200",
"OCIS_URL":"https://host.docker.internal:9200",
"PROXY_TRANSPORT_TLS_KEY":"/home/sabin/www/ocis.pem",
"PROXY_TRANSPORT_TLS_CERT":"/home/sabin/www/ocis.crt",
}
}
]
}