herbinate debug_time function