I’ve already look for a tutorial, but all that are available in the forum seem to be outdated and not working anymore. Does somebody know a way to debug sponge plugins and start a sponge server from intellij?
There’s a GREAT gradle plugin called SpongeStart makes this very easy.
Are you able to set breakpoints inside of Sponge to work out why you are hitting bugs in your plugin using SpongeStart?
Yup! You can also hotswap code in IntelliJ if you’re in debug mode.
I didn’t know that. I was under the impression that it compiled ahead of time.
It downloads the server, makes IntelliJ run it, but the code from the plugin being developed is run as normal. And any modules. I’ve tested with several plugins simultaneously.
Thank you very much!