I have a next 13.5.6 application, using pages router and agilityCMS. The app is working well but as soon as I click devtools inspect > Application Tab, my chrome app just closes. Seems to to be happening on Edge too but not Firefox for some reason.
I suspect it could be something to do with accessing the localstorage on server components? Ive tried adding “use client” on top of the files and root of my application but the same issue occurs (Does “use client” work with page router?). My components are still working fine wherever Im using localstorage though. Theres no console errors and any warnings that stood out.
Appreciate any ideas on how I can debug this issue or share you thoughts on this