Skip to content

Commit

Permalink
Update break-on-dom-changes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset committed Feb 28, 2024
1 parent 0e2fc46 commit efd840d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tips/en/break-on-dom-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Pause script execution when the DOM changes
tags: ["tip", "javascript", "debug", "browser:firefox", "browser:chrome", "browser:edge", "browser:safari"]
---
If you want to know what JavaScript code removes, adds, or modifies a DOM element in the page, you can use DOM breakpoints in DevTools. You can choose to break on:

test
* Subtree modification: this pauses execution when any element in the subtree of the selected element is modified (added, removed, or changed attribute).
* Attribute modification: this pauses execution when an attribute of the selected element is modified.
* Node removal: this pauses execution when the selected node is removed from the DOM tree.
Expand Down

0 comments on commit efd840d

Please sign in to comment.