Skip to content

Commit bb17fce

Browse files
committed
Update vscode launch configs for app
1 parent 403121b commit bb17fce

File tree

1 file changed

+23
-20
lines changed

1 file changed

+23
-20
lines changed

Diff for: .vscode/launch.json

+23-20
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
{
5-
"name": "Launch Chrome against localhost",
6-
"type": "chrome",
7-
"request": "launch",
8-
"url": "http://localhost:4200",
9-
"sourceMaps": true,
10-
"webRoot": "${workspaceRoot}",
11-
"sourceMapPathOverrides": {
12-
"webpack:///./*": "${workspaceRoot}/*"
13-
}
14-
},
15-
{
16-
"name": "Attach to Chrome",
17-
"type": "chrome",
18-
"request": "attach",
19-
"port": 9222,
20-
"sourceMaps": true,
21-
"webRoot": "${workspaceRoot}"
22-
}
4+
{
5+
"name": "ng serve",
6+
"type": "chrome",
7+
"request": "launch",
8+
"url": "http://localhost:4200/#",
9+
"webRoot": "${workspaceRoot}"
10+
},
11+
{
12+
"name": "ng test",
13+
"type": "chrome",
14+
"request": "launch",
15+
"url": "http://localhost:9876/debug.html",
16+
"webRoot": "${workspaceRoot}"
17+
},
18+
{
19+
"name": "ng e2e",
20+
"type": "node",
21+
"request": "launch",
22+
"program": "${workspaceRoot}/node_modules/protractor/bin/protractor",
23+
"protocol": "inspector",
24+
"args": ["${workspaceRoot}/protractor.conf.js"]
25+
}
2326
]
24-
}
27+
}

0 commit comments

Comments
 (0)