paulirish / break-on-access

break on access to a property
Other
1.16k stars 127 forks source link

Help with Chrome v58? #15

Open racitup opened 7 years ago

racitup commented 7 years ago

I'm trying to use this on Chrome v58 using a snippet and the console like below, but it doesn't halt even though I know the scope contents is changing. Any ideas?

<run the snippet> -> undefined
bp = breakOn(angular.element(document.customer_form).scope().customer_form.email, '$error');
bp.enable();
<submit the form> -> continues as normal, expecting the browser to halt