There were two reasons for this problem: one "interesting" and one stupidity.
Interesting reason:
Play 2.1 and SBT seem to test fork (and thus run them in a separate process). Therefore, breakpoints in my unit test code never hit.
One way to “fix” this is to add this configuration:
Keys.fork in Test := false
Stupid reason:
I have not yet compiled any "real" source code files in a new project. Therefore, Idea never activated control points on these lines. But the configuration of the project. The build.scala file was compiled when I launched the Play SBT console, I think that's why Idea activated the breakpoints in Build.scala directly. “So there never was a problem: I just need to press run on the Play console, and then the breakpoints came to life (after Play collected my sources).”
source share