Breakpoints are ignored in Intellij 2023.1.2 in our application. It was working with same application in older laptop that had intellij 2020.2
placed .idea folder elsewhere, placed it back and re opened project. This solved the issue.