3 ms·
If the debugger is open, Passwordle automatically breaks the execution right where the answer is determined. Now that's service.
by jerf 5y ago
If the debugger is open, Passwordle automatically breaks the execution right where the answer is determined.
Now that's service.
- umvi 5y agoTIL 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/Reference/Statements/debugger https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- therein 5y agoint 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 5y agoIf you build source maps this isn’t a problem.
- Normal_gaussian 5y agoAnd if you're using nodejs woth source maps, but still getting horrid stacks: "--enable-source-maps" > NODE_OPTIONS="$NODE_OPTIONS --enable-source-maps"
- deleted 5y ago[deleted]
- hycaria 5y agothat is so funny, I learned that today too on a completely different page!!!