-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
input wantedWe would like to hear your opinionWe would like to hear your opinionlow prioritySmall issues like typos that don't have much of an impactSmall issues like typos that don't have much of an impact
Description
https://docs.spongepowered.org/stable/en/plugin/debugging.html
This tutorial is completely wrong! You don't need to clone any sponge source code to just debug, everything you need is server jar and your plugin jar, that's all!
Replace or remove it.
- Create new IDEA project or open existing
- Open 'project structure' window
- Click on 'artifacts' tab
- Add artifact with source from module
- Point artifact's build output directory to mods dir. of sponge installation
- Save
- Open 'run configurations' window
- Add new run configuration 'JAR Application (that should be in '+' dropbox)
- Point 'Path to jar' to your forge.jar or spongevanilla.jar
- Change 'Working directory' to a directory, where forge.jar or spongevanilla.jar located
if you don't do this, your project directory will be littered with sponge/forge/minecraft files - Open run configuration window again
- In bottom part of this window you will see '+', click on it and add your artifact
- Save
- Now you can run your plugin with debugging, just press green bug icon near launch button.
DoNotSpamPls
Metadata
Metadata
Assignees
Labels
input wantedWe would like to hear your opinionWe would like to hear your opinionlow prioritySmall issues like typos that don't have much of an impactSmall issues like typos that don't have much of an impact