Debugging

To debug an API request, set clientKey to your development key and devMode=true, and most importantly be sure to set the userId and/or deviceId to a test user/device. If you use a real user when debugging, Leanplum will convert that user profile to a developer account.

These requests will be visible in the Dashboard Debugger console.

All session and tracking info from these requests will not be tracked as real user data. The matching user/device will be set to a developer account, and all of their activity will be sent to a separate analytics section, Developer Activity.

❗️

Do not set devMode=true for any API request that involves a real device or user. Only use it with test devices or developer accounts.