Documentation - v7.4.0
    Preparing search index...
    • Enables or disables debug mode globally.

      Debug mode is a process-wide toggle that SDKs check (via getDebugMode) to decide whether to emit internal diagnostic logs to the console. It does not affect any data sent to Datadog.

      Parameters

      • newDebugMode: boolean

        true to enable debug mode, false to disable it.

      Returns void