Example 2: Debugging Template Parameters

Custom statements can be used for debugging. Add the following code to your template to use built-in browser functions to show debug information in console:

<!--{ console.log($.myParam) }-->

Using this code, you will get the value of the myParam parameter in the standard browser console.