Debugging
Enabling debug logs and user timings markers
You can enable debug logs in the browser by setting the debug item in localStorage
to nuqs, and reload the page.
Note: unlike the
debugpackage, this will not work with wildcards, but you can combine it:localStorage.setItem('debug', '*,nuqs')
Log lines will be prefixed with [nuqs] for useQueryState and [nuq+] for
useQueryStates, along with other internal debug logs.
User timings markers are also recorded, for advanced performance analysis using your browser’s devtools.
Providing debug logs when opening an issue is always appreciated. 🙏