Skip to content

Debugging in 1.8.9 and 1.12.2

Warning

Please use our template project to debug your addon if you are using the latest Minecraft 1.16.5 version.

How to debug the addon

It's simple to debug your created addon in your IDE. You just have to edit the created run configuration of Forge (which starts the client) and put the following VM start options in:

1
-Dfml.coreMods.load=net.labymod.core.asm.LabyModCoreMod -DdebugMode=true -Daddonresources=addon.json

Testing the addon's settings

You can test your addon's settings by navigating to LabyMod Settings → Addons → Installed.

Screenshot of Addon Settings