Update 'Debugging with MagicBox'

2022-05-02 19:35:37 +00:00
parent fc39c0ed66
commit 96d2e4582b
+5 -2
@@ -13,9 +13,12 @@ Build the branch you wish to debug.
`./mbbuild.sh <branch-name>`
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)