Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update recipe to make debugging work with version 6 of Angular CLI #117

Merged
merged 2 commits into from
Jul 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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