JSJ 391: Debugging with Todd Gardner
The panel begins by talking about debugging methods and tools. Some rely solely on the debugger built into their platform while others prefer to use a third party service. They discuss the necessity of using a third party debugger and if there are better solutions than just the built in debugger.
They then discuss what to do after you’ve fixed a bug, such as if it is necessary to write a test to make sure it was completely fixed They talk about things to do to make debugging more effective. Todd and Aimee believe that code needs to begin by being designed for debug-ability.
The panel discusses issues with invisible boundaries encountered while debugging, such as running out of memory. They talk about ways to mitigate issues that happen outside of your code base. Todd talks about the dangers of ad-blockers, and the panel agrees that it is important to consider how your website will be crippled by the user’s own technology. The end user in a production environment will have a different experience than you did writing it on a professional computer.
Todd talks about the difference between debugging for the web versus a mobile application. Todd has encountered particular problems with debugging on a remote device, and he talks about how he solved the issue. The show concludes with Todd giving a quick elevator pitch for TrackJS.
- Chris Ferdinandi
- Christopher Buecheler
- Aimee Knight
- Charles Max Wood
- Steve Emmrich
With special guest: Todd Gardner
- Adventures in Blockchain
- Sentry use the code “devchat” for 2 months free on Sentry’s small plan
- React Round Up
- Track JS (free trial available)
- Script and Style podcast
- Blackbox for Firefox and Chrome
- Redux lager
- Remote JS
Charles Max Wood:
- Atomic Habits
- Getting up at 4 am
- Babushkas and grandmas to help you with your newborn
- Follow Todd @toddhgardner or todd.mn