From aa0a7683c444cd352a67dd28b02c29d5669e831c Mon Sep 17 00:00:00 2001 From: Jesus Abarca Date: Mon, 23 Jul 2018 00:06:22 -0500 Subject: [PATCH 1/2] Update recipe to make debugging work with version 6 of Angular CLI --- Angular-CLI/README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Angular-CLI/README.md b/Angular-CLI/README.md index 49c519c..7282660 100644 --- a/Angular-CLI/README.md +++ b/Angular-CLI/README.md @@ -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", @@ -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"] } ] } From 5ee9bbc9ffd0f6ba4a7df8fe4f0e204206f916ad Mon Sep 17 00:00:00 2001 From: Jesus Abarca Date: Mon, 23 Jul 2018 11:17:29 -0500 Subject: [PATCH 2/2] Update required Angular CLI version --- Angular-CLI/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Angular-CLI/README.md b/Angular-CLI/README.md index 7282660..93d85fb 100644 --- a/Angular-CLI/README.md +++ b/Angular-CLI/README.md @@ -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.