Comment on page
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.
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.
Add the
debug=true
query parameter to your app or embed URL&debug=true
Set
debug: true
in the configuration e.g.await client.config({
debug: true,
...
})
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
https://appetize.io/app/{publicKey}?&debug=true
%20(1)%20(1)%20(5).png?alt=media)
Select "Debug" under your app
Debug logs can also be downloaded via the
Download Logs
action at the top right of the log viewer. This is helpful when sharing logs with developers for troubleshooting purposes.
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) => {
console.log(data.message)
})
Last modified 1mo ago