htmx/www/extensions/debug.md
Denis Palashevskii a708395d46 Docs: Move extension script URL to the start of the page (#1232)
* Move extension script URL to the start of the page

* Improve visibility of installation instructions on /extensions page
2023-02-02 16:59:03 -07:00

428 B

layout title
layout.njk </> htmx - high power tools for html

The debug Extension

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.org/dist/ext/debug.js">

Usage

<button hx-ext="debug">Debug Me...</button>