Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 48 additions & 6 deletions v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,65 @@ supertokens.init({
</TabItem>
</NpmOrScriptTabs>

The above will print out SuperTokens debug log on the browser console:

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />

</TabItem>

<TabItem value="mobile">

<FrontendMobileSubTabs>

<TabItem value="reactnative">

```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:

<img src="/img/react-native-debug-logs.png" alt="React Native debug logs" />

</TabItem>


<TabItem value="android">

:::caution
Debug logs feature not yet available for mobile apps.
Debug logs feature not yet available for Android
:::

</TabItem>

</FrontendCustomUITabs>
<TabItem value="ios">

</CustomUIContent>
:::caution
Debug logs feature not yet available for iOS
:::

</PreBuiltOrCustomUISwitcher>
</TabItem>

<TabItem value="flutter">

The above will print out supertokens debug log on the browser console:
:::caution
Debug logs feature not yet available for Flutter
:::

</TabItem>

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />
</FrontendMobileSubTabs>

</TabItem>

</FrontendCustomUITabs>

</CustomUIContent>

</PreBuiltOrCustomUISwitcher>
54 changes: 48 additions & 6 deletions v2/passwordless/troubleshooting/how-to-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,65 @@ supertokens.init({
</TabItem>
</NpmOrScriptTabs>

The above will print out SuperTokens debug log on the browser console:

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />

</TabItem>

<TabItem value="mobile">

<FrontendMobileSubTabs>

<TabItem value="reactnative">

```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:

<img src="/img/react-native-debug-logs.png" alt="React Native debug logs" />

</TabItem>


<TabItem value="android">

:::caution
Debug logs feature not yet available for mobile apps.
Debug logs feature not yet available for Android
:::

</TabItem>

</FrontendCustomUITabs>
<TabItem value="ios">

</CustomUIContent>
:::caution
Debug logs feature not yet available for iOS
:::

</PreBuiltOrCustomUISwitcher>
</TabItem>

<TabItem value="flutter">

The above will print out supertokens debug log on the browser console:
:::caution
Debug logs feature not yet available for Flutter
:::

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />
</TabItem>

</FrontendMobileSubTabs>

</TabItem>

</FrontendCustomUITabs>

</CustomUIContent>

</PreBuiltOrCustomUISwitcher>
54 changes: 48 additions & 6 deletions v2/session/troubleshooting/how-to-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,65 @@ supertokens.init({
</TabItem>
</NpmOrScriptTabs>

The above will print out SuperTokens debug log on the browser console:

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />

</TabItem>

<TabItem value="mobile">

<FrontendMobileSubTabs>

<TabItem value="reactnative">

```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:

<img src="/img/react-native-debug-logs.png" alt="React Native debug logs" />

</TabItem>


<TabItem value="android">

:::caution
Debug logs feature not yet available for mobile apps.
Debug logs feature not yet available for Android
:::

</TabItem>

</FrontendCustomUITabs>
<TabItem value="ios">

</CustomUIContent>
:::caution
Debug logs feature not yet available for iOS
:::

</PreBuiltOrCustomUISwitcher>
</TabItem>

<TabItem value="flutter">

The above will print out supertokens debug log on the browser console:
:::caution
Debug logs feature not yet available for Flutter
:::

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />
</TabItem>

</FrontendMobileSubTabs>

</TabItem>

</FrontendCustomUITabs>

</CustomUIContent>

</PreBuiltOrCustomUISwitcher>
Binary file added v2/static/img/react-native-debug-logs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 48 additions & 6 deletions v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,65 @@ supertokens.init({
</TabItem>
</NpmOrScriptTabs>

The above will print out SuperTokens debug log on the browser console:

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />

</TabItem>

<TabItem value="mobile">

<FrontendMobileSubTabs>

<TabItem value="reactnative">

```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:

<img src="/img/react-native-debug-logs.png" alt="React Native debug logs" />

</TabItem>


<TabItem value="android">

:::caution
Debug logs feature not yet available for mobile apps.
Debug logs feature not yet available for Android
:::

</TabItem>

</FrontendCustomUITabs>
<TabItem value="ios">

</CustomUIContent>
:::caution
Debug logs feature not yet available for iOS
:::

</PreBuiltOrCustomUISwitcher>
</TabItem>

<TabItem value="flutter">

The above will print out supertokens debug log on the browser console:
:::caution
Debug logs feature not yet available for Flutter
:::

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />
</TabItem>

</FrontendMobileSubTabs>

</TabItem>

</FrontendCustomUITabs>

</CustomUIContent>

</PreBuiltOrCustomUISwitcher>
54 changes: 48 additions & 6 deletions v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,65 @@ supertokens.init({
</TabItem>
</NpmOrScriptTabs>

The above will print out SuperTokens debug log on the browser console:

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />

</TabItem>

<TabItem value="mobile">

<FrontendMobileSubTabs>

<TabItem value="reactnative">

```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:

<img src="/img/react-native-debug-logs.png" alt="React Native debug logs" />

</TabItem>


<TabItem value="android">

:::caution
Debug logs feature not yet available for mobile apps.
Debug logs feature not yet available for Android
:::

</TabItem>

</FrontendCustomUITabs>
<TabItem value="ios">

</CustomUIContent>
:::caution
Debug logs feature not yet available for iOS
:::

</PreBuiltOrCustomUISwitcher>
</TabItem>

<TabItem value="flutter">

The above will print out supertokens debug log on the browser console:
:::caution
Debug logs feature not yet available for Flutter
:::

<img src="/img/front-debug-logs.png" alt="Frontend browser debug logs" />
</TabItem>

</FrontendMobileSubTabs>

</TabItem>

</FrontendCustomUITabs>

</CustomUIContent>

</PreBuiltOrCustomUISwitcher>
Loading