> On 03-Aug-2016, at 8:13 PM, Ben Noordhuis <i...@bnoordhuis.nl> wrote: > > Quick sanity check: what does Debug.showBreakPoints() print for that > function after setting the breakpoint?
Just to confirm, is below the right way to leverage JS Debug API in a user supplied JS code? (I tried setting up breakpoint against OnUpdate earlier) function OnUpdate(doc, meta) { log(meta.key); // Flags: —expose-debug-as debug Debug = debug.Debug; log(debug.showBreakPoints(OnUpdate)) if (meta.type === “json”) { log(doc); } } Above JS code doesn’t compile, error message: Exception message: undefined:5 Debug = debug.Debug; ^ ReferenceError: debug is not defined at OnUpdate (<anonymous>:5:11) -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.