There is no shortage of resources on how to use the various browser dev tools, and new tools are added daily. They are amazing. As someone who learned JavaScript years ago, I envy new developers for these tools. To set a breakpoint in a browser, inspect all values in the environment and walk up the call stack has been transformative.
That said, your strongest debugging tool is the one between your ears. All the arcane debugging knowledge in the world is no substitute for understanding what you’re coding.
To write code is to make mistakes. The best developers you’ve ever met have been responsible for bugs. They have sat at their computers, scratched their heads and wondered, “Well why is it doing that?”
Where Bugs Come From
* Subtle Typos
* Wrong Object Types
* Async
* Counting Problems and Off By One
* Scope
Your new post is loading...