Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you wish to always enable debugging whenever you run a test, you may also modify the JUnit Template and add the above property. That way IntelliJ will always add it to every JUnit test configuration avoiding the need for repeated setup.

To avoid issues with membership timeouts, make sure to set the breakpoint suspend setting to `Thread` rather than `All` so that the membership health check thread is not paused when the debugger is at a breakpoint.  This will of course only work if the breakpoint is not in the membership health checking thread itself, but that should be rare occurrence.  See the below picture for how to change this setting - it may be useful to set `Thread` as default by pressing the `Make Default` button as well.

Image Added

If debugging needs to happen very early in the JVM  startup, it may be necessary to suspend the JVM so that you have time to attach the debugger. Setting the following property allows a particular DUnit VM to be suspended - in this example VM 0:

...