A debit card won’t.
I had to explain this to a school friend recently as he has never owned a credit card and avoids loans - preferring to save first, then spend.
When it came time to get a mortgage he couldn’t get good rates - or a large enough loan - as his credit history was so lacking.
He was infuriated but I pointed out to him that it makes sense from a lenders point of view: they gave no record of him being able to manage debt responsibly.
So that’s one reason to use a credit card, though likely not any reason Frank would suggest (he’s going with their better protection and coverage)