Debugging with the Browser DevTools Debugger
Using breakpoints, the call stack panel, and watch expressions in browser DevTools to pause execution and inspect program state at a specific point.
The browser DevTools debugger is a genuinely essential everyday tool for diagnosing bugs, and while console.log is a perfectly valid quick-and-dirty debugging technique, understanding how to use actual breakpoints and the debugger's inspection tools is expected baseline knowledge for any JavaScript developer, and interviewers occasionally probe it directly to check for real hands-on debugging experience beyond just reading error messages.
Using the debugger is like pausing a live orchestra performance mid-piece to walk up and inspect exactly which notes each individual musician is currently holding and where they are in their own sheet music (the call stack), rather than only being able to listen to a recording afterward and guess, from the overall sound (console.log output), what any specific musician must have been doing at any given moment.