idea同时运行两个main()

1. 选择一个程序先运行起来,看右上角,点开“Edit Configurations”

2. 选中右上角的“Allows parallel run”,再去运行另外一个程序就可以了

原文地址:https://www.cnblogs.com/live-for-learning/p/13278271.html