Debugging plugins on a live Bukkit server

<tommytony> “C:Program FilesJavajre7binjava.exe” -Xms2048M -Xmx2048M -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y -jar craftbukkit-1.6.4-R2.0.jar
<tommytony> then create a new Debug Configuration in eclipse
<tommytony> choose Remote Java Application
<tommytony> set port 8787
<tommytony> run that debug profile from eclipse
<tommytony> your server should start
<tommytony> and you can breakpoint

Leave a Reply

Your email address will not be published. Required fields are marked *