How to disable the watchdog?

I was doing some debugging of a Sponge plugin, and the server suddenly just shut down with the error message:

[15:37:16 FATAL]: A single server tick took 117.81 seconds (should be max 0.05)
[15:37:16 FATAL]: Considering it to be crashed, server will forcibly shutdown.

I immediately recognized that it was caused by the watchdog thread; it noticed that the server was hung (at a breakpoint - that was intentional) and terminated the server. Is there any way to stop it from doing this?

Set max-tick-time to -1 in the file to disable the watchdog.


wait since when has that worked?

Does this work on both SF and SV?

Since ages and ages ago, year+ scale.
Its even been written in the “how to setup” documentation as advise for setting up to debug plugin code for ages.
Necessary if using breakpoints in testing…