When I was a junior dev, debugging was really hard for me to do well. But once you understand it, it’ll help you in coding and in the technical interviews.

Quick ways to debug something quickly in JavaScript 🧵
Be able to recreate the bug. If you can reliably recreate the bug, you can figure out where it’s coming from. Start searching through your code for the likeliest suspect.
Use debugger statements liberally. Console.log feels easier to use but getting familiar with debugger now will help you in the long run.
When you realize you wrote “and in the technical interviews” instead of “in technical interviews”
You can follow @RandallKanna.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled:

By continuing to use the site, you are consenting to the use of cookies as explained in our Cookie Policy to improve your experience.