That’s why I installed a doorbell camera. I can answer the door without going anywhere near it.
We have that too, but I WFH and it's mostly to avoid wasting time with solar roof salesmen and local politicians.
(I do think it has "some" deterrent value, at least if the bad guy knows everything he does is going to be recorded.)