Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
jerf
4y ago
0 comments
Share
If the debugger is open, Passwordle automatically breaks the execution right where the answer is determined.
Now that's service.
0 comments
default
newest
oldest
umvi
4y ago
TIL there's a "debugger" keyword[0] in JavaScript that auto-sets a breakpoint at that line.
[0]
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
therein
4y ago
int 3 of Javascript. I use it all the time because webpacked assets make it hard to find the line of code I am looking for.
geraldwhen
4y ago
If you build source maps this isn’t a problem.
1 more reply
hycaria
4y ago
that is so funny, I learned that today too on a completely different page!!!
j
/
k
navigate · click thread line to collapse