A2 & JavaScript debugging

How to Debug an Angular Application With Chrome and VS Code by Fabian Gosebrink (January, 2017)


 

Debugging Angular 2 Applications from the Console (February, 2016)


Dave Ceddia on the vagueness of Angular 2 errors (January 2016)


From Yakov Fain’s Angular, TypeScript, SystemJS, and Browser Cache post: Chrome Dev Tools has an option Disable Cache while Dev Tools open, and this would clear the cache on the page refresh. But if you want the browser cache to be refreshed even if the Dev Tools are not open, add the following lines between the head tags in your HTML file:

<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">

<meta http-equiv="Expires" content="0">


javascript links

  • Babel
  • jspm  is a package manager for the SystemJS universal module loader, built on top of the dynamic ES6 module loader.
    • System.js is a third-party open-source library that adds ES6 module loading functionality to browsers.
  • Plunker is an online community for creating, collaborating on and sharing your web development ideas. angular2 can be used in Plunker. See the catalogue.
  • traceur is a JavaScript.next-to-JavaScript-of-today compiler that allows you to use features from the future today. Traceur supports ES6 as well as some experimental ES.next features.