-
Notifications
You must be signed in to change notification settings - Fork 0
Hot Swap Quickstart
AzureDoom edited this page Jun 8, 2026
·
1 revision
To enable debugging and hot swap:
./gradlew runServer -Ddebug=true -Dhotswap=trueFor best results:
- Use JetBrains Runtime (JBR) for enhanced class redefinition support.
- Let the plugin resolve the Java toolchain automatically, or set
jbrHomeif you need a specific JBR installation. - Optionally configure
hotswapAgentPathif you want to use an external HotswapAgent jar.
Example with an external HotswapAgent jar:
hytaleTools {
hotSwapEnabled = true
useHotswapAgent = true
hotswapAgentPath = '/path/to/hotswap-agent.jar'
}Or via gradle.properties:
./gradlew runServer -Ddebug=true -Dhotswap=trueVerify your JVM and hot swap setup:
./gradlew hytaleJvmDoctorWhen launching from IntelliJ using Debug, IntelliJ may provide its own debugger agent. The plugin detects an existing JDWP debugger argument and avoids adding a duplicate one.