GSAP Debug Helper
gsap_debugDebug GSAP animations by generating visualization markers, logging timeline progress, or slowing down animations. Use modes like visualize, log, slowmo, and labelDump to inspect and troubleshoot timeline behavior during development.
Instructions
Generate debugging utilities for GSAP animations during development. Modes: visualize (ScrollTrigger markers + timeline info log), gsdevtools (GSDevTools panel — requires Club GSAP membership), log (onUpdate progress/time logging), slowmo (slow down all animations via globalTimeline.timeScale), labelDump (print all timeline labels). Use only during development — remove all debug code before production.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Debug action to generate | |
| target | No | Timeline variable name | tl |
| options | No |