~/talk

Foundations of Debugging Node.js

Talkat NodeConf.eu 2013 · 2013-09-08..09-13· [nodejs]
links:none on file
slides:none on file

A stepwise debugging recipe: start with console.log to validate assumptions, add structured JSON logging with Bunyan for timestamps and metadata, and aggregate logs to Papertrail to tail distributed services. Trigger the runtime debugger with a SIGUSR1 and use node-inspector to set breakpoints, inspect scope, and catch a swapped request/response signature that causes the failure. Several live demos show the fixes applied and the app returning expected responses.

AI-written summary · about

  1. 0:00Introduction
  2. 3:40Hello World
  3. 4:00Horizontal Space
  4. 4:25Basic Server
  5. 4:58Listing Whisperer
  6. 7:55Fav Icon
  7. 8:37Fail Icon
  8. 9:50Testing
  9. 13:38Next evolution
  10. 19:00PaperTrail
~/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.