1. 按ctrl+shift+f8 进行设置

idea调试快速捕捉异常_IT

 

2. 

idea调试快速捕捉异常_idea_02

 

3. 填写具体的Exception ,然后点击done

 

4. debug启动