Breakpoint at “throw new SilentExitException()” in Eclipse + Spring Boot

前端 未结 5 821
Happy的楠姐
Happy的楠姐 2021-01-30 19:35

Every time I run my Spring Boot project on debug mode in Eclipse IDE (Spring Tool Suite), the thread stops at throw new SilentExitException(); line even without a b

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-30 20:10

    Add the property as a VM argument in the configuration like:

    That way you don't have to change your code, as it is the case when using:

    System.setProperty("spring.devtools.restart.enabled", "false");
    

提交回复
热议问题