Debug Mode
Intermediate PronunciationEN/ˈdiːbʌɡ moʊd/
Debug mode is a switch in an analytics library that exposes every event as it is sent, so its name and properties can be checked before the code ships.
It is usually turned on by a flag at initialisation, a URL parameter or a browser extension, and it prints the payload to the developer console and into the tool's live event view. Events still reach the backend unless the tool keeps a separate stream for test data, which is why debug sessions can pollute production numbers. Two mistakes recur: shipping a build with debug left on, and assuming that one clean debug session proves the instrumentation is correct, when that session covered a single browser, a single consent state and a single path through the product.