~/talk

Filling the Knowledge Gap: Debugging Edition

Talkat RailsConf 2019 · 2019-05-01..05-03· [developer-experience, testing]
slides:none on file

Shows concrete debugging moves: use binding.pry and Pry commands (ls next step continue) instead of blind console stares; prefer p over puts when inspecting objects; load a small app called Puppygotchi and pause execution to inspect @puppy and step into methods; open the browser Network tab and server logs to correlate 500s and bad responses; reproduce a bug where a nil enters an ActiveRecord list breaking React, then add tests that assert nils are excluded and iterate until the tests and QA pass.

AI-written summary · about

  1. 0:00Start
  2. 1:00Introduction
  3. 8:01Debugging Strategies
  4. 9:31Print Debugging
  5. 10:49Interactive Debugging
  6. 14:59Continue
  7. 18:00Network Tab
  8. 19:44Request Payload
  9. 22:03Lesson Number Three Find a Bug Write a Test
~/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.