Wiktionary
mental masturbation
n. (context slang English) engaging in intellectually stimulating conversation with little or no practical purpose.