IntelliJ Idea

Debugging

Setup Spring Boot DevTools

04-01-2023, source: YouTube

  1. Include the dependency in pom.xml:

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-devtools</artifactId>
        <scope>runtime</scope>
        <optional>true</optional>
    </dependency>
  2. Navigate to Settings → Build, Execution, Deployment → Compiler:

  3. Enable Build project automatically Navigate to Settings → Advanced Settings:

  4. Enable Allow auto-make to start even if the developed application is currently running.