effectfuljs: Conditional debugger breakpoint?

Is it possible to do something like this in JavaScript:

for (var i = 0, l = tableNode.table.body.length; i < l; i++) {
+    if (i === 38) debugger;
    // ...
}

Or something like this in general in VS Code:

image

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I just tried again and confirmed that the issue has indeed been resolved as you said. Thank you so much for taking the time to fix it; I really appreciate your hard work. Sorry for the confusion.

Sure, here’s the output of the debug console. I also created this repo as a reproducible example.