This extension includes log all htmx events for the element it is on, either through the console.debug function or through the console.log function with a DEBUG: prefix. Install <script src="https://unpkg.com/htmx-ext-debug@2.0.0/debug.js"></script> Usage <button hx-ext="debug">Debug Me...</button>