-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlaunch.json
42 lines (42 loc) · 1.29 KB
/
launch.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
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/react-app",
"timeout": 20000,
"sourceMaps": true,
"runtimeArgs": [
// "--remote-debugging-port=9222"
],
"sourceMapPathOverrides": {
// requires inline-source-map in webpack.config.js for devtool
// "browser-path": "web-root path"
// IMPORTANT AREA:
// Check sources in web browser DeveloperTools and change /app/ptc to
// your path above /src directory
"/app/*": "${webRoot}/*",
},
},
{
"name": "Docker: Attach to Go (Delve)",
"type": "go",
"request": "attach",
"mode": "remote",
"substitutePath": [
{
"from": "${workspaceFolder}/go-fiber",
"to": "/app",
},
],
"port": 2345,
"host": "127.0.0.1",
"showLog": true,
"apiVersion": 2,
"trace": "verbose"
},
]
}