Htmx-debugger - a debugging tool for htmx applications
htmx-debugger Extension
htmx-debugger is a powerful browser extension (compatible with Chrome and Firefox) designed to help developers debug and analyze htmx applications. It provides a comprehensive and user-friendly interface for viewing htmx events, requests, and responses in real-time. This tool is essential for understanding and troubleshooting htmx-powered web applications, making the development process smoother and more efficient.
## Features
- Real-time capture and display of htmx events
- Intelligent grouping of related events for easier analysis
- Powerful search functionality to filter events
- One-click clear button to reset the debugger view
- Flexible event filtering (All, Request, Response)
- Collapsible event details for a cleaner interface
- Detailed timing information for request-response cycles
- Live connection status indicator
- Automatic periodic connection checks for improved stability
- Robust error handling and reporting
## Future
- Export functionality to save captured events as a JSON file
- Import capability to load and analyze events from a JSON file
## Usage
### Opening the Debugger
1. Navigate to a webpage that uses htmx.
2. Open Chrome DevTools (Right-click > Inspect or press F12).
3. Look for the \"htmx\" tab in the DevTools panel. If you don't see it, click on the \">>\" icon to find it in the list of additional tools.
### Debugging htmx Events
The debugger automatically captures htmx events as they occur on the page. Each event is displayed with the following information:
- Event type
- Timestamp
- Target element details
- Event-specific details
- XHR information (for relevant events)
### Using the Debugger Features
1. **Connection Status**: Check the connection status indicator in the panel header to ensure the debugger is properly connected.
2. **Search**: Use the search bar at the top to filter events based on their content.
3. **Clear**: Click the \"Clear\" button to reset the debugger and remove all captured events.
4. **Event Filtering**: Use the filter buttons to show all events, only requests, or only responses.
5. **Expand/Collapse**: Click on an event header to expand or collapse its details.
6. **Timing Information**: For grouped events, the total duration is displayed at the bottom of the group.
## Troubleshooting
- If you don't see any events in the debugger, ensure that the webpage you're debugging is actually using htmx.
- If the htmx tab doesn't appear in DevTools, try reloading the page or reopening DevTools.
- Check the browser console for any error messages related to the extension.
- If the connection status shows \"Disconnected\", try reloading the page.
- If problems persist, try disabling and re-enabling the extension, reloading the webpage, or restarting Chrome.
## Privacy Policy
htmx-debugger is committed to protecting user privacy and does not collect or use any personal user data. The extension operates solely within the context of the user's browser to provide debugging functionality for htmx applications.
### Permissions and Their Justifications
1. **alarms**: The alarms permission is used to schedule periodic connection checks, ensuring the debugger maintains a stable connection to the webpage. This improves the reliability of the debugging process.
### Single Purpose Description
The single purpose of htmx-debugger is to provide a comprehensive debugging tool for web developers working with htmx-powered applications. It captures, displays, and analyzes htmx events in real-time, offering insights into the behavior and performance of htmx interactions within web pages.
### Data Usage Compliance
htmx-debugger complies with the Chrome Web Store Developer Program Policies regarding data usage. The extension:
- Does not collect any personal user data
- Does not transmit any captured debugging information outside of the user's browser
- Only processes information necessary for its core debugging functionality
- Stores data locally and solely for the purpose of improving the user's debugging experience
By using htmx-debugger, users can be assured that their privacy is respected and that the extension operates within the bounds of its stated purpose as a development tool for htmx applications.
Source Manifest.json
Similar Extensions
Svelte DevTools 105 19 ★ 58.61KiB
DivMagic - Copy Style from any website 105 55 ★ 1.3MiB
Web MIDI Mapper 105 0 ★ 22.4KiB
Polypane helper 105 4 ★ 23.12KiB
Alpine.js devtools 105 34 ★ 67.78KiB
jQuery Debugger 105 110 ★ 88.52KiB
Gimli Tailwind 105 33 ★ 151KiB
Locale Switcher 105 71 ★ 87.46KiB
Readable HackerNews 105 27 ★ 39.07KiB
OpenAPI DevTools 105 10 ★ 2.38MiB
Atomic CSS Devtools 105 15 ★ 196KiB
markClipper - obsidian web clipper 105 28 ★ 205KiB
Initab 105 95 ★ 12.93MiB
Dev Tabs 105 2 ★ 498KiB
Windy 105 21 ★ 2.31MiB
Chrome Extension Source Viewer 105 3 ★ 580KiB
ChatGPT Prompt List 105 11 ★ 53.83KiB
MultiBridge Trader 105 2 ★ 40.49KiB
Clockwork 105 74 ★ 2.26MiB
ARIA DevTools 105 32 ★ 491KiB
CSS Stacking Context inspector 105 21 ★ 262KiB
Hackertab.dev - developer news 105 168 ★ 525KiB
Landmark Navigation via Keyboard or Pop-up 105 9 ★ 67.37KiB
Svelte Reactive Debugger 105 0 ★ 216KiB