# Debug connection dropped

**URL:** <https://forum.inductiveautomation.com/t/debug-connection-dropped/7413>\
**Category:** Module Development\
**Created:** [October 15, 2013, 9:03am UTC](https://forum.inductiveautomation.com/t/debug-connection-dropped/7413 "2013-10-15T09:03:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crimbletime](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@crimbletime](https://forum.inductiveautomation.com/u/crimbletime)\
**Post date:** [October 15, 2013, 9:03am UTC](https://forum.inductiveautomation.com/t/debug-connection-dropped/7413/1 "2013-10-15T09:03:02Z")

</div>

Hi there.

I am attempting to attach to a Ignition Gateway service on a local network following the instructions given in the Ignition Programmer’s Guide document (step 1 and 2 in section 2.4).  
The wrapper log states that:

WARN | wrapper | 2013/10/15 10:44:53 | The JVM is being launched with a debugger enabled and could possibly  
WARN | wrapper | 2013/10/15 10:44:53 | be suspended. To avoid unwanted shutdowns, timeouts will be  
WARN | wrapper | 2013/10/15 10:44:53 | disabled, removing the ability to detect and restart frozen JVMs.

However, when attemping to attach to the process from Eclipse, the JVM/TanukiWrapper no longer listens to the port specified:

(after restart, it is OK, we are listening on port 8000)  
tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 637/sshd  
tcp 0 0 0.0.0.0:3389 0.0.0.0:\* LISTEN 1769/xrdp  
tcp 0 0 0.0.0.0:445 0.0.0.0:\* LISTEN 720/smbd  
tcp 0 0 0.0.0.0:8000 0.0.0.0:\* LISTEN 1363/java  
tcp 0 0 127.0.0.1:32000 0.0.0.0:\* LISTEN 1363/java  
tcp 0 0 127.0.0.1:3306 0.0.0.0:\* LISTEN 1190/mysqld

(after running the debug from Eclipse, no port 8000)

tcp 0 0 0.0.0.0:22 0.0.0.0:\* LISTEN 637/sshd  
tcp 0 0 0.0.0.0:3389 0.0.0.0:\* LISTEN 1769/xrdp  
tcp 0 0 0.0.0.0:445 0.0.0.0:\* LISTEN 720/smbd  
tcp 0 0 127.0.0.1:32000 0.0.0.0:\* LISTEN 1363/java  
tcp 0 0 127.0.0.1:3306 0.0.0.0:\* LISTEN 1190/mysqld

Looking at [wrapper.tanukisoftware.com/doc/e … g-jvm.html](http://wrapper.tanukisoftware.com/doc/english/prop-java-detect-debug-jvm.html) yelded no useful solution.

Can you help with this, please? I am with Development Mode 7.5.5 (b1255), and Sun JDK 1.6.0\_45.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![nclemeur](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@nclemeur](https://forum.inductiveautomation.com/u/nclemeur)\
**Post date:** [October 31, 2013, 2:43am UTC](https://forum.inductiveautomation.com/t/debug-connection-dropped/7413/2 "2013-10-31T02:43:28Z")

</div>

I have tried this and it is working for me. I can attach/detach the debugger multiple times without issues as long as I use the “Disconnect” menu to detach the debugger. So maybe it all depends on how you stop debugging? Whenever a disconnect the debugger, I have the following message in the logs

Listening for transport dt\_socket at address: 8001

Cheers

Nicolas
