- 核心依赖
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> <optional>true</optional> </dependency> - yaml配置
spring: ## 热部署 devtools: ## 重新启动false restart: enabled: false ## 热加载 true livereload: enabled: true - idea设置
- 验证



















![Java[IDEA]里的debug](https://i-blog.csdnimg.cn/direct/a31cb5d8792b405c9687aac82d7bf567.png)

