You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/angular/cli/README.md
+22
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,28 @@ It can also receive a filename to only run that test (e.g. `node ./tests/legacy-
187
187
As part of the test procedure, all packages will be built and linked.
188
188
You will need to re-run `npm link` to re-link the development Angular CLI environment after tests finish.
189
189
190
+
### Debugging with VS Code
191
+
192
+
In order to debug some Angular CLI behaviour using Visual Studio Code, you can run `npm run build`, and then use a launch configuration like the following:
193
+
194
+
```json
195
+
{
196
+
"type": "node",
197
+
"request": "launch",
198
+
"name": "ng serve",
199
+
"cwd": "<path to an Angular project generated with Angular-CLI>",
Then you can add breakpoints in `dist/@angular` files.
210
+
211
+
For more informations about Node.js debugging in VS Code, see the related [VS Code Documentation](https://code.visualstudio.com/docs/nodejs/nodejs-debugging).
0 commit comments