Debug

This keyword helps us to print the value(s) of variables.

Suppose we wish to print the value stored in a variable.

Structure :

debugLog <parameter>

 

Action

Parameter

Example Usage

Action

Parameter

Example Usage

debugLog

Web, Mobile


To debug/print the value of bqVariable.

Parameter 1 (Optional) : Variable name / static value to be printed
Parameter 2 (Optional) : Variable name / static value to be printed
Parameter 3 (Optional) : Variable name / static value to be printed
Parameter 4 (Optional) : Variable name / static value to be printed
Parameter 5 (Optional) : Variable name / static value to be printed
Parameter 6 (Optional) : Variable name / static value to be printed
Parameter 7 (Optional) : Variable name / static value to be printed
Parameter 8 (Optional) : Variable name / static value to be printed
Parameter 9 (Optional) : Variable name / static value to be printed
Parameter 10 (Optional) : Variable name / static value to be printed

Please select the correct data type while entering the variable name in each parameter.

Example :

Suppose we have stored variables bqVariable1 with value Hello and bqVariable2 with value People, global variable orgName with value Bqurious

debugLog : <Parameter 1 (data type selected : stored variable) : bqVariable1>
<Parameter 2 (data type selected : stored variable) : bqVariable2>
<Parameter 3 (data type selected : fixed) : at>
<Parameter 4 (data type selected : global variable) : orgName>
<Parameter 5 : >
<Parameter 6 : >
<Parameter 7 : >
<Parameter 8 : >
<Parameter 9 : >
<Parameter 10 : >

The output displayed will be :

debugLog : P1(S) = Hello
P2(S) = People
P3(F) = at
P4(G) = Bqurious