Skip to content

Commit

Permalink
Merge pull request #117 from jabas06/master
Browse files Browse the repository at this point in the history
Update recipe to make debugging work with version 6 of Angular CLI
  • Loading branch information
auchenberg authored Jul 23, 2018
2 parents 62e6544 + 5ee9bbc commit 5e7ae53
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Angular-CLI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ an application generated by the [Angular CLI](https://cli.angular.io/).

- Make sure to have version **3.1.4** or greater of the [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) extension installed in VS Code.

- Use [NPM](https://www.npmjs.com) to install [Angular CLI](https://cli.angular.io) version **1.3** or greater globally.
- Use [NPM](https://www.npmjs.com) to install [Angular CLI](https://cli.angular.io) version **6.0** or greater globally.

> **Please note**: Dubugging may not function with other versions of Angular CLI.
```
npm install -g @angular/cli@">=1.3"
npm install -g @angular/cli@">=6.0"
```
- Use Angular CLI to create a new Angular application.
Expand Down Expand Up @@ -50,13 +50,7 @@ Then click on the gear icon to configure a launch.json file, selecting **Chrome*
"type": "chrome",
"request": "launch",
"url": "http://localhost:4200/#",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack:/./*": "${webRoot}/*",
"webpack:/src/*": "${webRoot}/src/*",
"webpack:/*": "*",
"webpack:/./~/*": "${webRoot}/node_modules/*"
}
"webRoot": "${workspaceFolder}"
},
{
"name": "ng test",
Expand All @@ -71,7 +65,7 @@ Then click on the gear icon to configure a launch.json file, selecting **Chrome*
"request": "launch",
"program": "${workspaceFolder}/node_modules/protractor/bin/protractor",
"protocol": "inspector",
"args": ["${workspaceFolder}/protractor.conf.js"]
"args": ["${workspaceFolder}/e2e/protractor.conf.js"]
}
]
}
Expand Down

0 comments on commit 5e7ae53

Please sign in to comment.