在DEBUG模式下,不小心给“Do not show this dialog in the future”勾选确定了,弹框不会出现,要想恢复该功能如何操作 1.IDEA中,打开“File”–>“Settings…” 2.选择“Build,Execution,Deployment”–>“HotSwap” 将Reload classes after compilation选择“Ask”询问即可,保存退出。