All Products
Search
Document Center

3. Debug your function

Last Updated: Jul 23, 2018

In this guide, we use Function Compute console for debugging. You can write an incremental log entry to Log Service, and check whether Function Compute prints this log entry or not.

Create and debug a HELLO WORLD function

  1. Create the function that prints Hello World.

    Note: When you create this function, enable Advanced Settings, and set LogStore to the Logstore that the demo uses in execution.

  2. Click Invoke.

  3. Check whether or not the Logstore that you have configured for the Log Service trigger has collected the incremental log entry.

Now, you have created the program for executing the function triggered by Log Service. For more information, see Log Service topic Development guide for ETL function.