

ALT **table of contents** first steps: - preserve the crime scene - identify one small question - reproduce the bug - write a failing test - read the error message - reread the error message get organized: - brain dump - keep a log book - rule things out - draw a diagram investigate: - add lots of print statements - use a debugger - jump into a REPL - dig into confusing code - read the library's code - look at github issues - find a version that works simplify: - write a tiny program - comment out code - tidy up your code - find a workaround - reduce randomness get unstuck: - take a break - investigate bugs together - timebox your investigation - write a message asking for help improve your toolkit: - use a new spy tool - shorten your feedback loop - add extra logging - add pretty printing - add sounds - take a recording reflect: - tell a friend what you learned - find related bugs - add a comment



















