Open moinCodes opened 3 months ago
Hey,
i havent enable debugging mode
the only reason we print those messages is if debug mode is active.
the message is sent here https://github.com/PostHog/posthog-js/blob/main/src/posthog-core.ts#L312 and you can see we always check the current debug state before logging anything https://github.com/PostHog/posthog-js/blob/main/src/utils/logger.ts#L10
So you definitely have debug enabled 😊
there's a few ways that debugmode can be enabled
__posthog_debug=true
as a query parameter on the URLph_debug
set to truedebug: true
to config on initthere's nothing Next.js specific there
although I can see you're being warned about initializing posthog more than once which can confuse things
we'd need to see your site or your code to give more specific advice though :)
Bug Description
Bug description
when ever i perform any event it logs it on the browser console. i havent enable debugging mode and this doesnt happen when using react it happens on my nextjs project.
Debug info
No response