Blind hem stitch
Fold the hem as the foot expects, usually with a lip of the allowance sticking out. Select the blind hem stitch, not a plain zigzag. The rare sideways stitch is the one that touches the garment. If that stitch is wide, you see a row of dots.
Practise on a scrap folded the same way. Narrow the width until the catch is a thread. A miss means the hem is not held. A deep bite means it shows.
A heavy denim hem often looks better topstitched. A blind hem on thick cloth can still show. The jeans page says so.