Wiktionary
lose one's shit
vb. 1 (context idiomatic vulgar English) To lose one's temper. 2 (context idiomatic vulgar English) To have a sudden burst of emotion, regardless of the type of feeling