# ngAir 125 - Debugging with the CLI and VSCodeGuests Tony Sneed

> Episode of [Angular Air](https://podistic.com/podcast/angular-air.md) · Published August 8, 2017 · Duration 56:57

- **Listen on Podistic:** https://podistic.com/episode/ngair-125-debugging-with-the-cli-and-vscodeguests-tony-sneed
- **Audio:** https://anchor.fm/s/166001ec/podcast/play/11101328/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2020-2-14%2F56579460-44100-1-d36582eed7e71db6.mp3 (audio/mpeg)

## About this episode

Guest
Tony Sneed
 
Episode Notes

Intro


Debugging

Why would we want to debug in our editor instead of just in browser dev tools?

VS Code Debugging: 



Debugging app serve, unit tests, end-to-end tests

Recipe: https://github.com/weinand/vscode-recipes/tree/master/Angular-CLI



Angular CLI versions

Fix sourcemap issues - 1.3 (now in rc)



How do we get set up

Install / update node - latest current version


Install angular cli globally: npm install -g @angular/cli@1.3.0-rc.5


New angular app: ng new my-dream-app


Npm scripts vs global ng commands



Demo



Other cool stuff (time permitting)

Blog post: https://blog.tonysneed.com/2017/07/18/turbocharge-vs-code-for-angular-development/


VS Code tasks for npm scripts

Passing parameters


Keyboard shortcuts



Cool extensions

Icons: vs-code-icons


Organizing imports: TS Hero


Renaming and moving files:  Move TypeScript


Angular Language Service




Wrap up

 
Picks
Angular DI w/ updated 5.0 referenceshttps://blog.thoughtram.io/angular/2015/05/18/dependency-injection-in-angular-2.html#new-staticinjector-apis
Webpack 3.5 is out scope hoisting fixeshttps://twitter.com/wSokra/status/894843792175616000
