Socialify

Folder ..

Viewing launch.json
35 lines (35 loc) • 1.2 KB

 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
{
    // 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",
    "configurations": [
        {
            "name": "Electron Main Renderer",
            "type": "node",
            "request": "launch",
            "protocol": "inspector",
            // Prelaunch task compiles main.ts for Electron & starts Angular dev server.
            "preLaunchTask": "Build.All",
            "cwd": "${workspaceFolder}",
            "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
            "runtimeArgs": [
                "--serve",
                ".",
                "--remote-debugging-port=9222"
            ],
            "windows": {
                "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
            }
        }, {
            "name": "Karma Attach Chrome",
            "type": "chrome",
            "request": "attach",
            "port": 9222,
            "webRoot": "${workspaceFolder}/",
            "sourceMaps": true,
            "timeout": 30000,
            "trace": true
        }
        
    ]
}