Search code examples
scaladebuggingintellij-ideaplayframeworkintellij-scala

Intellij: Debugging does not work with Play Framework


I have problems for some time with debugging in Intellij (Ultimate 2019.2).

If I set Breakpoints and restart Intellij, or it reloads after a code change, all the Breakpoints work as expected:

Before Start

But if I set the Breakpoints when the Play server is running, only a few of them still work:

After Start

Is this a bug, or is my configuration wrong?

debug config


Solution

  • As it worked with plain sbt (Thanks for the hint of @Gagandeep Kalra), I asked for support of Intellij:

    https://youtrack.jetbrains.com/issue/SCL-16565#comment=27-3792469