On the Elements panel, right click the element, Break on... > Attribute modifications.
I doubt you can refine the breakpoint to only break on classname changes, but it should be a good starting point.
You can't directly break when the node is created i think, but you can break when the paren't subtree changes (from the same menu). Again, it's not exactly what you need, but it's close enough to get you started.