Skip to main content
When developing apps with the App SDK, debugging is essential for understanding your app’s behavior and fixing issues. You can log messages both in your client and server code.

Logging

The App SDK supports standard console methods that work in both frontend and server environments:
  • console.log() - For general information and debugging output
  • console.warn() - For warnings that don’t break functionality but need attention
  • console.error() - For unexpected errors that break functionality for your app’s users
These logs will appear in different places depending on where they’re called from. Let’s explore where to find your logs.

Frontend logs

Frontend logs appear in your browser’s console. To access them, open the dev tools of your browser and navigate to the Console tab.

Server logs via the Developer console

The Developer console provides a comprehensive logs viewer for your app’s server code across all workspaces where your app is installed. This is the primary way to monitor your app in production. How to access:
  1. Navigate to the Developer console
  2. Select your app
  3. Click on the Logs tab
You can only view the logs for one workspace at a time. To get started, enter the workspace’s slug to select it.

Development server logs via CLI

For your development build, you can stream logs directly to your terminal using the Attio CLI. This provides a real-time view of your development logs to debug your app while you’re building it. How to access: Run the following command:
You can optionally specify a workspace:
Example output: