diff --git a/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx b/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx index 7a7d024c3..41507a865 100644 --- a/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: + + -Frontend browser debug logs \ No newline at end of file + + + + + + + + + diff --git a/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx b/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx index 62ea0f6ed..41507a865 100644 --- a/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: -Frontend browser debug logs + + + + + + + + + + + diff --git a/v2/session/troubleshooting/how-to-troubleshoot.mdx b/v2/session/troubleshooting/how-to-troubleshoot.mdx index 62ea0f6ed..41507a865 100644 --- a/v2/session/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/session/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: -Frontend browser debug logs + + + + + + + + + + + diff --git a/v2/static/img/react-native-debug-logs.png b/v2/static/img/react-native-debug-logs.png new file mode 100644 index 000000000..c7ee16462 Binary files /dev/null and b/v2/static/img/react-native-debug-logs.png differ diff --git a/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx index 62ea0f6ed..41507a865 100644 --- a/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: -Frontend browser debug logs + + + + + + + + + + + diff --git a/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx index 62ea0f6ed..41507a865 100644 --- a/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: -Frontend browser debug logs + + + + + + + + + + + diff --git a/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx index 62ea0f6ed..41507a865 100644 --- a/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx @@ -183,23 +183,65 @@ supertokens.init({ +The above will print out SuperTokens debug log on the browser console: + +Frontend browser debug logs + + + + + +```tsx +import SuperTokens from 'supertokens-react-native'; + +SuperTokens.init({ + apiDomain: "...", + // highlight-next-line + enableDebugLogs: true, +}); +``` + +The above will print out SuperTokens debug logs on the terminal if you're using the React Native CLI or Expo: + +React Native debug logs + + + + + + :::caution -Debug logs feature not yet available for mobile apps. +Debug logs feature not yet available for Android ::: - + - +:::caution +Debug logs feature not yet available for iOS +::: - + + -The above will print out supertokens debug log on the browser console: +:::caution +Debug logs feature not yet available for Flutter +::: -Frontend browser debug logs + + + + + + + + + + +