Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
jerf
4y ago
0 comments
Save
Share
If the debugger is open, Passwordle automatically breaks the execution right where the answer is determined.
Now that's service.
0 comments
4 comments · 1 top-level
top
newest
oldest
umvi
4y ago
· 3 in thread
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