Settings→Editor→General→Console
Reference article: https://blog.csdn.net/weixin_34363171/article/details/93444586