menu
Is this helpful?

# Debugging and Logging

During the process of SDK integration, you can perform real-time debugging by checking SDK's logs in the IDE console or using the Debug feature of TE.

# Printing Log

You can set enableLog to true when the SDK is initialized, and turn on the SDK log switch. After turning on, the reported data will be printed on the IDE console.

TDAnalytics.init({ 
    appId: "xxx", 
    serverUrl: "https://xxx", 
    enableLog: true 
}); 

After opening the log, you can check data tracking of SDK by filtering logs related to ThinkingAnalytics in IDE.