debug function hl