How to debug spring-boot application with IntelliJ IDEA community Edition?

后端 未结 9 2154
野性不改
野性不改 2021-01-29 23:43

I\'m having difficulties in debugging a Java spring-boot application on IntelliJ IDEA community Edition. The main problem is, that the IDE won\'t stop on a breakpoint, even the

9条回答
  •  悲&欢浪女
    2021-01-30 00:07

    I found that including Spring Dev Tools in my build caused IntelliJ debugging to break (per your description above). If you don't use this feature, then simply remove it from your build.

    If using Maven, the lines below should be removed from you pom.xml.

        
            org.springframework.boot
            spring-boot-devtools
        
    

提交回复
热议问题