注意事项:
1. 我在debug启动时,项目启动结束时停到了如下位置:
```
public static void exitCurrentThread() {
throw new SilentExitException();
}
```
不过倒不影响项目运行,自动启动也是可以的,在stackoverflow上找到的解决方案是:
Eclipse -> Preferences ->Java ->Debug
去掉"Suspend execution on uncaught exceptions"前面的勾;
参考资料:[Breakpoint at “throw new SilentExitException()” in Eclipse + Spring Boot](https://stackoverflow.com/questions/32770884/breakpoint-at-throw-new-silentexitexception-in-eclipse-spring-boot)