this post was submitted on 03 Oct 2025
194 points (98.5% liked)
Programmer Humor
38576 readers
306 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I mean, you should do general logging either way, since you won't have a debugger attached when running in production. And then you can typically scroll back in the logs, too, when the debugger has paused execution.
What this meme is talking about, is adding ad-hoc logs to narrow down where an error occurs while developing. So, bullshit logs like
console.log("1")
, followed by a line of potentially bad code and thenconsole.log("2โ)
. Log lines which you'll remove again when you're done debugging...