Debugging, a step away from the console
summary
Chrome DevTools Sources panel gets used to replace scattershot console.log calls with real inspection: a debugger statement pauses execution and shows scope values (example reveals "2" as a string not a number), clicking a line number sets a manual breakpoint, conditional breakpoints pause when myAttempts == 4, the call stack lets you jump to callers, the console evaluates live expressions, and the pause on exceptions stop‑sign pauses exactly where an error throws.
AI-written summary · about
chapters (7)
- 0:00Start
- 0:32console.log?
- 1:14Debugging?
- 1:33Breakpoints How to pause your code to debug
- 1:43Insert "debugger;" statement
- 2:44Manual Breakpoints
- 3:53Uncaught Exceptions
related talks
33mEssential JavaScript debugging tools for the modern detective
29mEssential JavaScript debugging tools for the modern detective
42mDebugging & DevTools
28mEssential JS debugging tools for the modern detective
47mDebugging, Profiling, & Rocking Out with Browser-Based Developer Tools!
50mChrome Developer Tools Deep Dive
28mModern Web Debugging
43mModern web debugging with devtools
