Yes, you can use Chrome devtools DOM Breakpoints for this:
- Find an item in the Items panel (you did it)
- Right-click an item and select Break> Attribute Modifications (since changing the inline style includes changing the value of the
style attribute)
When the modification occurs, the breakpoint will stop JavaScript execution at that point and show the corresponding script on the Sources tab.
If you ever need to see a list of our DOM breakpoints, they are located on the Breakpoints DOM tab in the panel to the right of the Elements panel.
source share