Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better way for debugging plugins. #172

Closed
Xefreh opened this issue Nov 21, 2024 · 0 comments
Closed

Better way for debugging plugins. #172

Xefreh opened this issue Nov 21, 2024 · 0 comments

Comments

@Xefreh
Copy link

Xefreh commented Nov 21, 2024

What is the problem ?
The current dev-tools plugin lets you run a debug server in order to test your plugin but some plugins might require other tools to run correctly like redis, mysql or anything else.

The solution
Instead of running the server locally, we could spin up docker containers via a docker-compose file and run a gradle task that run it. it would let anyone be able to configure what environment they need for their plugins like a proxy or anything else as described above. the plugin would need to build though a Dockerfile that uses gradle.

What else we can do ?
the minecraft-server docker image will enable us to fill the server with preinstalled plugins and we could also set a custom server like using ispigot and a custom java version like the jetbrains runtime to improve hot reload when developing for more productivity. Intellij can connect to a server eg: docker container and it would allow to be able to live debug.

Other ideas
having multiple compose files to test bugs easier on a released version of our plugins, it may be annoying to test a bug if we modified code.

Note: there is also an image for bungeecord/velocity on itzg github account.

@Xefreh Xefreh closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant