Skip to content

Instantly share code, notes, and snippets.

View blowysrl's full-sized avatar

blowy blowysrl

View GitHub Profile
@cmckni3
cmckni3 / angular-debugger-vs-code.md
Last active August 28, 2024 18:20
Visual Studio code debugger configuration @angular/cli
  1. Install node.js and optionally yarn
  2. Install and open Visual Studio Code
  3. Install chrome debugging extension for Visual Studio Code
  4. Install @angular/cli npm i -g @angular/cli OR yarn global add @angular/cli
  5. Create a new project ng new my-project
  6. Open project in Visual Studio Code
  7. Debug > Add configuration
  8. Paste contents of launch.json into the new launch.json configuration file.
  9. Start project ng serve optionally changing the port with -p <value> or --port. Remember to change the port in launch.json first since Visual Studio Code will reload and stop all programs running in the builtin terminal.
  10. Debug > Launch Chrome agains