[QUESTION] How to attach a debugger to the minecraft server?
Simple question: This guide on BukkitWiki explains how you can attach an IDE's debugger to the minecraft server by editing the startup command line arguments. Where do I configure those startup arguments for my balena mc-server?
Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.81. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
@MadMowgli I'm pretty sure the file that you need to edit is in the github repo in mc-server
Then edit start.sh with whatever editing program you use (e.g notepad++)
The part I've highlighted in the above picture is the command that will initialise the server on every launch but I'm pretty sure the thing you would need to edit will be somewhere in that start.sh file
Thats exactly how to do it. Thanks @EvilNick2 ! I don't see any reason btw to even add a debugger. Server developement should happen on the ide host itself in my opinion.