run l2j server in IDE intellij idea

Issue #416 new
rtyui181 created an issue

i want to debug l2j game server, use breakpoints etc.. what shoud i do to run game server in IDE (intellij idea)? it requires datapack but i dont know how to bind it. i got error file not found but even if I place the datapack sources in the specified path i get the same error
help please

Comments (1)

  1. Sky

    in case anyone ever needs this:
    one way to do it is to set up a remote debugging session like this, then add the suggested arguments to the server launch script like java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Xms512m -Xmx2g -jar l2jserver.jar

  2. Log in to comment