Open michaelchadwick opened 5 months ago
If I understand correctly, you have an SPA in the frontend and changing pages doesn't trigger any call to the backend. The debugbar
will only see request made to the backend. For anything happening in React, Vue and such, you would need a dedicated too.
Let me know if I misunderstood something.
I'm using Rails 7 and <%= link_to %>
links mostly, but maybe I have some kind of config or setting turned on that makes everything a soft navigation?
All Ajax/spa requests will still get logged. Can confirm that it works with Inertia.js and Vue.
Could you open a browser dev tools network tab and see if there is a new request when you navigate? It may also be that you have caching preventing the request from firing.
My site primarily uses soft navigation links, and those don't seem to trigger a request as far as Debugbar is concerned. Is there a way to still use this tool?