Read time: 1 minute
Last edited: Feb 3, 2020
This topic explains how to use the debugger.
The debugger gives you real-time insight into the events your application is sending to LaunchDarkly, so you can ensure that you've set LaunchDarkly up correctly. Different types of events appear, in detail or in summary, depending on what you want to see.
The debugger shows you a real-time stream of events arriving in LaunchDarkly from your app. When you first open the debugger, it connects to the event stream to show live events as they appear. Establishing the connection can take up to 30 seconds. In high-volume environments, you may see sampled events, rather than 100% of events.
The debugger displays evaluation counts and variation breakdowns for each flag evaluated since you opened the debugger. Click on a flag or select it from the dropdown to access individual event information.
Flag evaluation events display as a summary. This saves data load. To get detailed evaluation event information for a flag, select it and click Debug.
This will temporarily enables detailed events for that flag, which appear as they are received. View additional information, including the user attributes used for evaluation, by clicking on an individual event.
There are two types of user events:
- Identify events are explicitly triggered by your application code
- Index events are automatically triggered by the LaunchDarkly SDK based on flag evaluations.
Click on a user to see individual event information.
Experimentation events only display for customers who have Experimentation enabled. To learn more, read Experimentation.
There are three types of experiment events.
- Click events
- Page view events
- Custom events
These events correspond to the kind of metric that triggered the event.