the.com/debugger

A microscope for your code's lies, including the ones you told yourself.

means A tool that lets you pause a running program, inspect its variables, and step through its code line by line to find out where it's actually going wrong.

from Straightforward compound of 'de-' (remove) plus 'bug,' the old engineering slang for a glitch or flaw. The famous story credits Grace Hopper's team with taping an actual dead moth found in a relay to a 1947 computer logbook, noting they were 'debugging' the machine — a charming tale, but 'bug' meaning a technical fault was already in use decades earlier, including by Edison. The moth moment likely popularized the term in computing rather than inventing it; 'debugger,' the tool-name, followed naturally once programmers needed something to do the debugging for them.

core trick
pauses time so you can interrogate variables
dirty secret
print statements still outperform it half the time
breakpoint irony
named for a bug that was literally a moth
real use
proving the bug is in code you swore was fine
the.com · every word