0

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

pme
  • 14,156
  • 3
  • 52
  • 95

2 Answers2

1

Try this

File -> Invalidate Caches/Restart

Intellij keeps reloading stuff, breakpoints become active only when it's truly sure, no false positives here.

Usually I do, start the server then debugger and make sure endpoints are active before I make the request.

Gagandeep Kalra
  • 1,034
  • 14
  • 13
0

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

pme
  • 14,156
  • 3
  • 52
  • 95