Created a new middleware to dispatch Tracy when an HTMX request is happening and we need a layout (so a boosted method).
In the root +layout.php instructed HTMX to always send the Tracy header along which should instruct Tracy to log that request.
Problems:
While it displays Tracy just fine on a fresh page load, clicking a boosted link (the main navbar) doesn't refresh Tracy after the body is replaced with the boosted content.
+layout.php
instructed HTMX to always send the Tracy header along which should instruct Tracy to log that request.Problems: