You are viewing a single thread.
View all comments View context
26 points

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

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
10 points

It does for me!

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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.

Community stats

  • 5.7K

    Monthly active users

  • 1.5K

    Posts

  • 34K

    Comments