Double and single quotes in debugprint() statements
To ensure double quotes within double quotes and single quotes within single quotes are properly handled in a debugprint() statement, you must add a backslash before them.
Double quote inside double quotes example
DebugPrint.debugprint("tempDetail2_setUdf1(String_valueOf spzData_getShiftPremiumRate \")) ) " + spzData.getShiftPremiumRate())
Single quote inside single quotes example
DebugPrint.debugprint("tempDetail2_setUdf1(String_valueOf spzData_getShiftPremiumRate \" ) " + '( \' '+ spzData.getShiftPremiumRate())