Debugging in 1.8.9 and 1.12.2
This page is for the LabyMod 3 Addon API, which is no longer maintained nor supported. Visit https://wiki.labymod.net/pages/addon/ for the LabyMod 4 Addon API Wiki.
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:
-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.