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
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.
Open up Chrome Dev tools. Learn how to use it well. Start learning how to use breakpoints and step in and out of your code. https://developers.google.com/web/tools/chrome-devtools
Use debugger statements liberally. Console.log feels easier to use but getting familiar with debugger now will help you in the long run.
If you use redux, download the redux dev tools extension. This has saved me so many times. https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd
A good overview of debugging: https://flaviocopes.com/javascript-debugging/
Using debugger can be confusing. Try this guide! https://codeburst.io/learn-how-to-debug-javascript-with-chrome-devtools-9514c58479db
When you realize you wrote “and in the technical interviews” instead of “in technical interviews”