Skip to content

Commit

Permalink
Update README.md - debug extension
Browse files Browse the repository at this point in the history
Typo fix and additional tip regarding Chrome Devtools Console.
  • Loading branch information
rafkub authored and Telroshan committed May 26, 2024
1 parent 629803a commit 8b03c91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/debug/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

This extension includes log all htmx events for the element it is on, either through the `console.debug` function
This extension includes log of 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
Expand All @@ -13,3 +13,5 @@ or through the `console.log` function with a `DEBUG:` prefix.
```html
<button hx-ext="debug">Debug Me...</button>
```
### Note
To see logs in Chrome DevTools > Console tab, turn on Verbose level in its _All levels_ dropdown.

0 comments on commit 8b03c91

Please sign in to comment.