Debugging

Last Updated on : 2022-11-24 09:20:02download

This topic describes how to use logging to troubleshoot issues.

Background

  • A mix of debugging methods can better improve efficiency in troubleshooting your SDK development problems.
  • A typical approach to debugging your embedded system is to monitor the running status and function execution of the SDK.

View logs

Tuya Beacon SDK provides two types of log services, namely local log and cloud log, which can help you quickly find out what caused the problem, such as the hardware, app, or cloud.

Term Description
Local log The running status of the SDK is logged. You can connect your hardware to a computer using a USB To TTL converter and check the logs.
Cloud log Go to the Tuya IoT Development Platform and search by virtual ID to check the logs.