This will print a line every time some animtions runs, including the name of the animation and the element where the animation is applied to.
window.onanimationiteration = console.log
This will print a line every time some animtions runs, including the name of the animation and the element where the animation is applied to.
window.onanimationiteration = console.log