Giter Site home page Giter Site logo

arturoxl / debugging-angular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from branflake2267/debugging-angular

0.0 0.0 0.0 149 KB

Debugging Angular with Visual Studio Code

Home Page: https://www.youtube.com/watch?v=H-sMmxfNxBM

JavaScript 5.12% TypeScript 21.64% HTML 73.02% CSS 0.22%

debugging-angular's Introduction

Debugging Angular

Debugging Angular with Visual Studio Code.

Debugging Video Tutorial

Project Configuration

Setting Value
Purpose Debugging with VS Code using a simple Angular project
Client Framework Angular
Client Language TypeScript
Architecture npm/node
IDE Visual Studio Code
License GPL v3
Tutorial Youtube Tutorial

Generate Application

The app generation is based on https://angular.io/guide/setup-local.

  • Run npm install -g @angular/cli - Install the app generator CLI tool.
  • Run ng new client - Generate an application, I named it client.
  • Run cd client - Change directory to the app.
  • Run ng serve --open - Start the compiler, web server and open Chrome.

Debugging

Debug with Visual Studio Code

Configure Launchers

  1. launch.json
  2. tasks.json

Run Launchers

Launching and debugging in chrome will allow you to use break points in the source code. The launchers are based on https://github.com/microsoft/vscode-recipes/tree/master/Angular-CLI.

  • Run the Visual Studio Code Launcher Launch ng serve & Chrome

Debug with npm

  • Run npm start

debugging-angular's People

Contributors

branflake2267 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.