The Debug helper is a simple class for debugging variables, objects, arrays, etc by outputting information to the display.
Save current time for current point.
Debug::elapsedTimeSetPoint('point_name');
Get elapsed time for current point.
echo Debug::elapsedTime('point_name');
Save current memory for current point.
Debug::memoryUsageSetPoint('point_name');
Get memory usage for current point.
echo Debug::memoryUsage('point_name');
Print the variable $data and exit if exit = true
Debug::dump($data);