diff --git a/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx b/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/emailpassword/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs diff --git a/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx b/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/passwordless/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs diff --git a/v2/session/troubleshooting/how-to-troubleshoot.mdx b/v2/session/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/session/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/session/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs diff --git a/v2/static/img/flutter-debug-logs.png b/v2/static/img/flutter-debug-logs.png new file mode 100644 index 000000000..a01fb2205 Binary files /dev/null and b/v2/static/img/flutter-debug-logs.png differ diff --git a/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdparty/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs diff --git a/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdpartyemailpassword/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs diff --git a/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx b/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx index 901aaa4d7..405c3fd4f 100644 --- a/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx +++ b/v2/thirdpartypasswordless/troubleshooting/how-to-troubleshoot.mdx @@ -269,9 +269,17 @@ Debug logs feature not yet available for iOS -:::caution -Debug logs feature not yet available for Flutter -::: +```dart +import 'package:supertokens_flutter/supertokens.dart'; + +void main() { + SuperTokens.init(apiDomain: apiDomain, enableDebugLogs: true); +} +``` + +The above will print out SuperTokens debug logs on the terminal: + +Flutter debug logs