Earwigs are a mixed blessing in the garden. See jal-ut's post here:
https://www.helpfulgardener.com/forum/viewtopic.php?p=194880#194880
But I'd be surprised if the earwigs were creating that extensive of damage to your pepper plants, unless you have 100's of them. When I've found earwigs in my garden, I've usually only found one or two (maybe there were a lot more I didn't find, I don't know) and there was no visible damage to the plant I found them on.