I am trying to debug a Spring boot project with IntelliJ. Suddenly, my lines do not debug after working for last few years.
It will debug through the class, but when i try to run a method, it will not see the breakpoint. I got an application context message earlier, which I fixed, but its still not working. https://www.jetbrains.com/help/idea/2021.2/spring-support.html#spring-file-set
It will see/execute these lines in the background (like its one another thread), but not will debug/catch the method lines.
@Autowired
public EncounterFacade(SuperbillRepository superbillRepository, EncounterRepository encounterRepository) {
this.superbillRepository = superbillRepository;
this.encounterRepository = encounterRepository;
}
CodePudding user response:
Currently using a Mac system. It was already running Local host port in the background,
Ran npx kill-port 8080
to resolve the issue and it worked.