Devtools Break On Expression May 30, 2024 Post a Comment I would like to suspend everything when a given Javascript expression is true. I have seen conditional breakpoints, but that doesn't work for me, because that would require settingSolution 1: Type the following in Devtools console:setInterval(function() { if(<yourcondition>) { debugger; } }, 10); CopyThis will poll for that condition every 10 ms, and break when it is met.You can adjust 10 to be looser if that works for you. A 10 ms frequency is already a big strain on processor. Share Post a Comment for "Devtools Break On Expression"
Post a Comment for "Devtools Break On Expression"