# Debuggin Webstart Clients with Eclipse

**URL:** <https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204>\
**Category:** Module Development\
**Created:** [March 24, 2012, 1:24am UTC](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204 "2012-03-24T01:24:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmazzola](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@gmazzola](https://forum.inductiveautomation.com/u/gmazzola)\
**Post date:** [March 24, 2012, 1:24am UTC](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204/1 "2012-03-24T01:24:37Z")

</div>

Hi, I’m working on a module and I’ve sucessfully it when it runs the Gateway code part.

Now I want to attach the Eclipse’s remote debugger on a Webstart client, so I can test the client part of the module. ¿How can I achieve this?

I’ve already tried launching the JNLP manually, with not sucesss:

```auto
javaws -J-Xdebug -J-Xnoagent -J-Djava.compiler=NONE -J-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 "http://<server>:8088/main/system/launch/client_staging/<project>.jnlp"
```

The client starts up, but no debug port is opened. ¿Any advice?

---

<div class="post-metadata">

**Author:** ![gmazzola](https://avatars.discourse-cdn.com/v4/letter/g/85e7bf/32.png) [@gmazzola](https://forum.inductiveautomation.com/u/gmazzola)\
**Post date:** [March 24, 2012, 2:34am UTC](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204/2 "2012-03-24T02:34:44Z")

</div>

I’ve got it to work with the following .bat:

`@echo off
set JAVA_TOOL_OPTIONS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
javaws "http://<server>:8088/main/system/launch/client_staging/<project>.jnlp"`

The debugger needs to be run three times for every webstart launch to work.

If anyone has a better way, feel free to comment.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [August 16, 2012, 5:56pm UTC](https://forum.inductiveautomation.com/t/debuggin-webstart-clients-with-eclipse/4204/3 "2012-08-16T17:56:57Z")

</div>

Hi,

I’ve posted another way to do this under [this thread](http://www.inductiveautomation.com/forum/viewtopic.php?f=74&t=8712).

Regards,
