# Testing, Logs, and Monitoring

# Testing

Cloud Base provides a cloud function testing feature which makes it easy to debug your code. On the console, in the management panel of an appropriate cloud function, click "Test" to open the test pop-up window.

Test Pop-up Window

Click the "Submission Method" drop-down menu to select the template method for function testing. Only the Hello World event template is supported now. The template is passed to the function as an event parameter during the test. After entering the parameters you want to test in the "Test Parameters" editor, click "Execute" to run the code. After the execution, the operation result is displayed in the "Run Test" section.

In addition to the visualized cloud function testing feature, we also provide a command line tool cloudbase/cli to help you quickly complete local debugging.

# Logs

You can view the call logs of the cloud function for development debugging.

# Monitoring

You can view the number of calls, running time, and number of errors for the cloud function. This data can also be exported.