~/talk

Debugging the Web

Talkat JSCAMP Virtual 2021 · 2021-07-15..07-16· [javascript, developer-experience]
slides:none on file

Uses console.log to split a quadratic into steps and finds a misplaced bracket that makes Math.sqrt apply only to b*2 producing intermediate outputs 14 12 2 and final 6 instead of the expected 1, shows console.time timing a loop at ~100 ms, demonstrates the VS Code debugger orange JavaScript debug terminal with breakpoints, step into/over/out controls and variable panes and shows a Jest test hitting a breakpoint, and uses Chrome DevTools* Sources to trigger a click‑driven breakpoint and inspect state (toggle true).

AI-written summary · about

  1. 0:00Start
  2. 0:08Introduction
  3. 3:48Debugging
  4. 6:59Console Functions
  5. 7:55Console Time
  6. 8:24Debugging with Vs Code
  7. 8:55Debug Terminal
  8. 9:46Add a Breakpoint
  9. 10:14Breakpoint
  10. 15:35Chrome Tools
  11. 16:34Add Breakpoints
  12. 18:53Pros
  13. 19:54Cons
  14. 20:56Conclusion
  15. 22:09Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.