1870
submitted 1 year ago* (last edited 1 year ago) by awesome_person@lemm.ee to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Crow@lemmy.world 98 points 1 year ago

Ten years into casual programming and I still don’t know how to use a debugger.

[-] ghariksforge@lemmy.world 48 points 1 year ago

I believe in a conspiracy theory that nobody uses debuggers.

[-] HairHeel@programming.dev 26 points 1 year ago

console.log counts as “a debugger”, right?

[-] erogenouswarzone@lemmy.ml 3 points 1 year ago

Yes, but only because it gives you a link to where that was run. Click the link to the right with filename:lineNumber, and it will open the sources tab to that line. Set a breakpoint and rerun to pause there, then step through the code's execution.

Of course, if you're using minified or processed code, this will be more difficult, in that case figure out how to do it in VS Code.

load more comments (1 replies)
load more comments (11 replies)
load more comments (17 replies)
this post was submitted on 07 Jul 2023
1870 points (98.3% liked)

Programmer Humor

32571 readers
293 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS