From 96d2e4582bec3e724ee1f5aaa86dd5d057f5e36d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 2 May 2022 19:35:37 +0000 Subject: [PATCH] Update 'Debugging with MagicBox' --- Debugging-with-MagicBox.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Debugging-with-MagicBox.md b/Debugging-with-MagicBox.md index c01ded7..4233f0a 100644 --- a/Debugging-with-MagicBox.md +++ b/Debugging-with-MagicBox.md @@ -13,9 +13,12 @@ Build the branch you wish to debug. `./mbbuild.sh ` -Startup the game in debug mode. +Startup either the entire game or just the LoginServer in debug mode. +1. Debug the full game `./mbstart.sh -debug` +2. Debug only the LoginServer +`./mbloginstart.sh -debug` The game is now listening on port 5000 for the IDE. We will open up WorldServer.java and click to the left of a line to set a breakpoint. @@ -33,7 +36,7 @@ Give the configuration a name. Set the IP address to your public IP and the por ![configremote](https://cdn.discordapp.com/attachments/534260038039109632/970663735486201887/unknown.png) -Use this new configuration to connect your IDE to MagicBox. +Use this new configuration to connect your IDE to MagicBox. The game will begin to bootstrap. ![selectDebug](https://cdn.discordapp.com/attachments/534260038039109632/970664155843538974/unknown.png)