Debug Logs

With Appetize, you can capture, inspect and troubleshoot all debug log events that occurred during your app session for real-time or later analysis.
Note by default, a user needs to be authenticated to view debug logs for their app. See App Permissions for more information.

Capture Debug Logs

Debug logs are generated by your app using NSLog or Logger for iOS and Log for Android
To enable Appetize to capture all debug log events, you can choose to enable it through a query parameter or with the help of the JavaScript SDK.

With Query Parameter

Add the debug=true query parameter to your app or embed URL
See Query Params Reference for more information.

With JavaScript SDK

Set debug: true in the configuration e.g.
await client.config({
debug: true,
See Configuration for more information.

Inspecting Debug Logs

With App Page

The app page provides a simple debug log of all the events that took place. You can access this via your app's app link{publicKey}?&debug=true
or by going to your Apps page and clicking debug under the app you want to inspect.
Example App Link with Debug Action
Select "Debug" under your app
Debug logs can also be downloaded via the Download debug log action at the top right of the log viewer. This is helpful when sharing logs with developers for troubleshooting purposes.
Example Debug logs from App Page

With JavaScript SDK

You can listen for all debug log events via our JavaScript SDK. To easily view them in the browser you can print them to the console or you can store it to file for later analysis
// check debug logs
session.on('log', (data) => {
See our JavaScript API Reference for more information.