
Bore, scare, etc. the pants off somebody
Colloquial
Used in casual conversation, not in formal situations like business meetings or academic papers. 
Hyperbole
It's an exaggerated expression, not meant to be taken literally. Nobody's pants are actually removed. 
Figurative
Illustrates an extreme effect, either frightening someone a lot or making something unbearably dull. 