/
Debugging Custom Logic
Debugging Custom Logic
debug
The debug command outputs data to a log which is then displayed in the Debug tab/grid for the Custom Logic you are debugging.
debug(mixed $debug)
Parameters
$debug: The variable to be output on the debug tab.
Example: Basic Usage
In this example, the debug function is being called with different types of variables.
$array = [1,2,3,4];
$indexedArray = [
'foo' =>'bar',
'bat' => 'baz'
];
$integer = 1234;
$string = 'this is a string';
$float = 3.14159;
$this->debug($array);
$this->debug($indexedArray);
$this->debug($integer);
$this->debug($string);
$this->debug($float);
Output on the Debug tab
, multiple selections available,
Related content
Calling API Logic
Calling API Logic
Read with this
(v1) Allowed Functions in Custom Logic
(v1) Allowed Functions in Custom Logic
More like this
Triggerable Events List
Triggerable Events List
Read with this
(v1) .Allowed Functions in Custom Logic v2022.2
(v1) .Allowed Functions in Custom Logic v2022.2
More like this
Custom Events
Custom Events
Read with this
(v1) .Allowed Functions in Custom Logic v2020.4
(v1) .Allowed Functions in Custom Logic v2020.4
More like this