Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DEBUG not working in nextjs #245

Open
jeremyd opened this issue Jun 27, 2024 · 1 comment
Open

DEBUG not working in nextjs #245

jeremyd opened this issue Jun 27, 2024 · 1 comment

Comments

@jeremyd
Copy link
Contributor

jeremyd commented Jun 27, 2024

As recommended by the getting_started guide I've tried using

export DEBUG='ndk:*'

and

localStorage.debug = 'ndk:*'
in the browser console.

I even tried adding it to my .env.

I still cannot see debug messages. I am trying to debug AUTH and seeing these messages would be very helpful..

@SelimTavukcuoglu
Copy link

Hello,

I use NextJS (14.*) and I added in the scripts section of my package.json :
"dev:ndk": export DEBUG='ndk:*' && npm run dev

Then I run npm run dev:ndk and it works

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants