Debugging
Different platforms have different ways to enable each debug functionality. They may be enabled
- through APIs exposed on the Glean singleton,
- through environment variables set at run time,
- or through platform specific debug tools.
Platform Specific Information
Check out the platform specific guides on how to use Glean's debug functionalities.
- Debugging applications using the Glean Android SDK
- Debugging applications using the Glean iOS SDK
- Debugging applications using the Glean Python SDK
- Debugging applications using the Glean JavaScript SDK
Features
The Glean SDKs provides four debugging features.
Log Pings
This is either true or false and will cause all subsequent pings that are submitted, to also be echoed to the device's log.
Debug View Tag
This will tag all subsequent outgoing pings with the provided value, in order to identify them in the Glean Debug View.
Source Tags
This will tag all subsequent outgoing pings with a maximum of 5 comma-separated tags.
Send Pings
This feature is only available for the Kotlin and Swift SDKs and in Firefox Desktop via about:glean
.
This expects the name of a ping and forces its immediate submission.