Debugger watch expressions:
When the debugger has paused code execution, this
refers to the MutationRecord
.
You can use jQuery in these expressions too.
this.attributeName
this.oldValue
this.target.getAttribute(mutation.attributeName)
document.getElementById('b-dynamic-breakpoint-proxy-trigger-1').getAttribute('aria-expanded')
The debugger provides a tab for Event Listener Breakpoints. There is a checkbox for DOMAttrModified
, but it doesn't provide the ability to only pause execution if a specific DOM Attribute is modified (which is what this script does).