44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "ng serve",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"preLaunchTask": "npm: start",
|
|
"url": "http://localhost:4200/#",
|
|
"webRoot": "${workspaceFolder}",
|
|
"sourceMapPathOverrides": {
|
|
"webpack:/*": "${webRoot}/*",
|
|
"/./*": "${webRoot}/*",
|
|
"/src/*": "${webRoot}/*",
|
|
"/*": "*",
|
|
"/./~/*": "${webRoot}/node_modules/*"
|
|
}
|
|
},
|
|
{
|
|
"name": "ng test",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:9876/debug.html",
|
|
"webRoot": "${workspaceFolder}",
|
|
"sourceMaps": true,
|
|
"sourceMapPathOverrides": {
|
|
"webpack:/*": "${webRoot}/*",
|
|
"/./*": "${webRoot}/*",
|
|
"/src/*": "${webRoot}/*",
|
|
"/*": "*",
|
|
"/./~/*": "${webRoot}/node_modules/*"
|
|
}
|
|
},
|
|
{
|
|
"name": "ng e2e",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/protractor/bin/protractor",
|
|
"protocol": "inspector",
|
|
"args": ["${workspaceFolder}/e2e/protractor.conf.js"]
|
|
}
|
|
]
|
|
}
|