3 ms·
same. for a while i feel like chrome developer console had the ability to pause (and step thru) js. i don't see that button anymore... am i crazy? did that ev
by elif 2y ago
same.
for a while i feel like chrome developer console had the ability to pause (and step thru) js.
i don't see that button anymore... am i crazy? did that ever exist?
- 0xfeba 2y agoYou still can. I did it just now with this text field form. Hit pause, and then the next event (focusing the text field) caused it to break.
- tetris11 2y agoit's undermined by `debugger` statements these days designed to make it difficult to inspect page content
- xnx 2y agoHow does that work? I'm not familiar.
- beardyw 2y agoNot seen that one before, but a smart trick. "The debugger statement invokes any available debugging functionality, such as setting a breakpoint. If no debugging functionality is available, this statement has no effect."
- tetris11 2y agoIf you try to inspect the page, the code will run up to the next debugger statement, where one was purposefully inserted near the top of the code. If you try to continue past it, it just loops back onto the debugger statement. If you load the page normally without inspecting it, these debugger statements are ignored.
- 6510 2y agoyes you can step though and set break points, don't ask me how tho, I've not used it seriously enough to remember. You could attempt to read google documentation and spend hours not learning how to do something.