b1afcacbca
Also updated gitignore.
11 lines
269 B
Python
11 lines
269 B
Python
import os
|
|
import gen
|
|
|
|
JVM_DEBUG_PORT = 25577
|
|
|
|
|
|
if (os.getcwd().endswith("scripts/")):
|
|
os.chdir("../")
|
|
|
|
os.chdir(gen.DEV_SERVER_PATH)
|
|
os.system("java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address={port} -jar spigot.jar".format(port = JVM_DEBUG_PORT)) |