add custom port setting for debug

This commit is contained in:
Daniella / Tove 2022-03-06 16:41:19 +01:00
parent 2bcd45a161
commit f57a98fe84

View file

@ -1211,7 +1211,7 @@ class ISBPLDebugger extends Thread {
@Override
public void run() {
try {
ServerSocket socket = new ServerSocket(9736);
ServerSocket socket = new ServerSocket(Integer.parseInt(System.getenv("DEBUG")));
while (true) {
Socket s = socket.accept();
BufferedReader reader = new BufferedReader(new InputStreamReader(s.getInputStream()));