008 jsAir - JavaScript Debugging with Alex Liu, Todd Gardner, and Yunong Xiao
JavaScript Debugging with
Alex Liu,
Todd Gardner, and
Yunong XiaoDescription:
JavaScript has a pretty interesting debugging story.
The developer tools of your browser of choice and the
various tools and IDEs for debugging Node or mobile
development make for a really interesting topic.
Show sponsors:
Links, Picks, and Tips:
Alex Liu- Tips: Always think about Errors and error handling as part of the design and spec from day one and Understand the abstractions you use, especially when it comes to Errors
- Picks: VError, bunyan, restify-errors, and Overheard - VS Code debugger is great
Todd Gardner
Yunong Xiao- Links: mdb v8, Node post mortem debugger, Debugging Node.js in Prod, Flamegraphs, Flamegraphs with Node, Restify, Observable Rest Framework, and Debugging Node
- Tips: Use the Scientific Method, Error Types and JSON Parse, Error Handling in Node.js, JSON Logging Lib, and Observable Async lib
- Picks: Bojack Horseman, ReactiveSocket, and Wish You Were Here
Brian Lonsdorf- Links: Elm’s debugger and Free Monad graph
- Tips: Algebraic data structures like Either, Task, and Maybe ensure we handle all errors. The errors are pushed to the caller where it’s easy to see., In node, you can overwrite Obj.prototype.inspect to display a custom string when console.log-ing., and Learn to use debugger; in the browser.
- Picks: Bodil Stokke Generators and Profunctor Lenses
Kyle Simpson- Tips: Chrome CPU Throttling, OSS your code early. Don’t wait until “it’s good enough for others”, because then you’ve waited too long. OSS is about collaboration and improvement, not promotion of already-finished code., and Start with libraries and frameworks as you rapidly develop/evolve/explore a project. But as it matures, try to build time in for refactoring to reduce/remove those pieces. You don’t need them permanently. The best code is the code that’s exactly what’s needed, no more, no less.
- Picks: About the new ‘createImageBitmap(..)’ API and also ‘requestIdleCallback(..)’, Chris & Getify Make A Game (part 1) tutorial on simple game making with me and @chriscoyier, and Cloud Sweeper my first casual web game, OSS code released
Kent C. Dodds
About JavaScript Air:
JavaScriptAir is the live broadcast podcast all about JavaScript hosted by
egghead.io instructor Kent C. Dodds. Please visit the JavaScript Air website (
javascriptair.com) to see upcoming and past episodes. Go to
suggest.jsair.io to suggest topics and guests for the show. Go to
feedback.jsair.io to provide feedback on this and other episodes. Also be sure to follow JavaScript Air on
Twitter and
Google+ to stay up to date with future episodes. Also, all episodes are on the
YouTube channel as well.