[null,null,["最后更新时间 (UTC):2025-08-16。"],[],[],null,["DebugView enables you to see the raw event data logged by your app on\ndevelopment devices in near real-time. This is very useful for validation\npurposes during the instrumentation phase of development and can help you\ndiscover errors and mistakes in your Analytics implementation and confirm\nthat all events and user properties are logged correctly.\n\nEnable debug mode\n\nGenerally, events logged by your app are batched together over the period of\napproximately one hour and uploaded together. This approach conserves the\nbattery on end users' devices and reduces network data usage. However, for the\npurposes of validating your Analytics implementation (and, in order to\nview your Analytics in the DebugView report), you can enable debug mode\non your development device to upload events with a minimal delay. \n\niOS+\n\nTo enable Analytics debug mode on your development device, specify the\nfollowing command line argument in Xcode: \n\n -FIRDebugEnabled\n\nThis behavior persists until you explicitly disable debug mode by specifying\nthe following command line argument: \n\n -FIRDebugDisabled\n\nYou can add these arguments by editing your project's scheme and adding a\nnew entry to \"Arguments Passed On Launch\".\n\nAndroid\n\nTo enable Analytics debug mode on an Android device,\nexecute the following commands:\n\n\u003cbr /\u003e\n\n```\nadb shell setprop debug.firebase.analytics.app PACKAGE_NAME\n```\n\n\u003cbr /\u003e\n\nThis behavior persists until you explicitly disable debug mode by executing\nthe following command:\n\n\u003cbr /\u003e\n\n```\nadb shell setprop debug.firebase.analytics.app .none.\n```\n\n\u003cbr /\u003e\n\nWeb\n\nTo enable Analytics debug mode in your browser, install the\n[Google Analytics Debugger](https://chrome.google.com/webstore/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna)\nChrome extension.\n\nOnce installed, enable the extension and refresh the page. From that point\non, the extension will log events in your app in debug mode.\n\nYou can view events logged in the DebugView in the Firebase console.\n| **Note:** To prevent your testing and development from affecting your measurements, events logged while in debug mode will be excluded from your overall Analytics data, and will not be included in your daily BigQuery export.\n\nReport on event data\n\nOnce you enable debug mode on your development devices, navigate to\n[DebugView](//console.firebase.google.com/project/_/analytics/debugview) by selecting the\narrow next to StreamView on the top nav of Google Analytics and\nselecting DebugView.\n\nGoogle Analytics and selecting DebugView\"\\\u003e\n\nThen, just start using your app to see your app's events being logged in the\nDebugView report.\n\nThe Seconds stream (the middle column) shows the events which have been logged\nin the last 60 seconds. The Minutes stream (the left column) shows a series of\narchives of events over the last 30 minutes. And the right column shows the\nTop Events logged in the 30-minute period as well as the Current User Properties\nfor the currently selected development device.\n\nSeconds stream\n\nBy default, you will see a list of events logged in the last 60 seconds. Each\nevent displays a timestamp that corresponds to the time of its logging on the\ndevelopment device. You can click on an event to see a list of the parameters\nthat were associated with that event.\n\nAs user property values change during the course of app usage, you will see an\nentry for that change.\n\nMinutes stream\n\nThis stream shows a series of circles which each correspond to a minute of time\nover the last 30 minutes. The number in the circle indicates the count of\nevents received in that minute. Clicking on one of these circles will populate\nthe Seconds stream with events which were logged during that minute of time.\nThis effectively allows you to examine the events logged over the last 30\nminutes in fine-grained detail.\n\nTop events and Current User Properties\n\nThe Top Events table shows the top events which were logged during the 30-minute\nperiod. And the Current User Properties table shows the latest state of the set\nof User Properties for the currently selected development device.\n\nDevice selector\n\nSince many different development devices can have debug mode enabled, you can\nuse the Device selector to choose the specific device on which the DebugView\nreport will focus. This allows multiple developers to focus on their own\ninstrumentation and validation efforts without impacting one another."]]