break-on-access
break-on-access copied to clipboard
This should be available as a Chrome Developer Tools button out-of-the-box
My knowledge of Developer Tools in Chrome is somewhat imperfect, but AFAIK, this functionality is not available by default, but it could be very, very useful. Every once in a while I have to write this Object.defineProperty()
hack for debugging purposes.
Can you consider implementing its functionality in Chrome natively (or maybe it's already there)?
Also, IIRC some libraries like Ractive were relying on Object.defineProperty()
to implement observables/FRP, so native implementation won't mess with them.