add custom port setting for debug

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

View file

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