First of all, the most similar question that I found is this Intellij IDEA: Breakpoint not being hit, and is shown greyed out but that is not the exact same case.
I
The same happened with me on Mac machine. I followed these steps and all worked fine: