Doyensec interview question

Hardware vs software breakpoints, how to bypass anti debugging