Sitemap

Member-only story

Web Dev: DevTools Debugging Tips

Learn simple tools to bring your debugging to a senior level

--

Google Dev logo

Can You “Learn” Debugging?

Right or wrong, I treat debugging as more art than science. At the outset of a given problem, you can’t just break out a list set of steps that will deterministically yield a solution. Resolving bugs requires uncovering the root issue, and to do that we have to use our debugging tools. These help us rule out some causes and confirm others. A big part of becoming a senior developer is building out a diverse toolbelt to help you quickly and effectively identify those root causes. In this post, I’ll go over common debugging tools and the sorts of scenarios where they apply that I find help me after a decade of web development.

For the purposes of this article, I use Google Chrome and refer to the tools it provides but other browsers may very well provide similar or identical tools you can use.

DevTools Special Breakpoints

If you’ve done much web development, you’ve almost certainly used your browser’s DevTools to help step through Javascript code (if not — consider that a free professional tip), but you may not have used the special breakpoints that DevTools provides.

DOM Breakpoints

--

--

Stephen Biston
Stephen Biston

Written by Stephen Biston

Web Dev & Technical Lead with over a decade of experience. Did my content help you out? Feel free to buy me a coffee: https://ko-fi.com/stephenbiston