Error Connecting To Designer From Debugger

I'm experiencing an issue with remote debugging in Ignition Designer using IntelliJ IDEA. The debugger initially connects on port 8001 but disconnects almost immediately, typically within a second. The debug connection only remains open when the JVM argument includes 'suspend=y', but this causes the application to halt until a debugger connects. With 'suspend=n', the port appears to close after the initial loading phase.

Im getting these outputs when running netstat -ano | findstr :8001:

I'm using the following JVM argument for remote debugging:
TCP 127.0.0.1:8001 127.0.0.1:53511 TIME_WAIT 0
TCP 0.0.0.0:8001 0.0.0.0:0 LISTENING 31272
TCP [::]:8001 [::]:0 LISTENING 31272
TCP 0.0.0.0:8001 0.0.0.0:0 LISTENING 31272
TCP [::]:8001 [::]:0 LISTENING 31272
TCP 0.0.0.0:8001 0.0.0.0:0 LISTENING 31272
TCP [::]:8001 [::]:0 LISTENING 31272
TCP 127.0.0.1:8001 127.0.0.1:53623 ESTABLISHED 31272
TCP 127.0.0.1:53623 127.0.0.1:8001 ESTABLISHED 5444
TCP 127.0.0.1:8001 127.0.0.1:53623 TIME_WAIT 0
TCP 127.0.0.1:8001 127.0.0.1:53623 TIME_WAIT 0

These are the jvm arguments:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=:8001
--Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=
:8001

The debugger log shows:

  1. Successful initial connection:
    FINE - #c.i.d.e.DebugProcessImpl - *VM attached

  2. Debugger enters RUNNING state:
    FINE - #c.i.d.i.DebuggerSession - DebuggerSession state = RUNNING, event = ATTACHED

  3. Almost immediately after, the debugger detaches and disposes of the session:
    FINE - #c.i.d.i.DebuggerSession - DebuggerSession state = STOPPED, event = DETACHED
    FINE - #c.i.d.i.DebuggerSession - DebuggerSession state = DISPOSED, event = DISPOSE

Any insights or suggestions would be greatly appreciated. Thank you in advance for your help!

What does your IntelliJ launch config and Designer Launcher config look like? Do you maybe have a firewall or AV software interfering?

I just gave this a quick try and had no issue getting the remote debugger attached.

Using

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005

weirdly enough after many hours of trying I simply reinstalled my designer and it seems to be working.

Thanks for the help anyway!