This works for mouse traps. Get the old fashioned kind with the little loop on the trigger part. Don’t get those weird yellow plastic ones. Then wedge/jam a peanut into that loop so the mouse has to bite it to get it out. Works everytime.
It’s avoiding PB like the plague...