title: remote debugging a jnlp application with IntelliJ
body: <p>I'm trying to debug a web start application using IntelliJ 10 (running on Win7).</p>
  
  <p>I read both SO: </p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/1669673/remote-debugging-a-jnlp-application-with-eclipse">remote debugging a jnlp application with eclipse</a></li>
  <li><a href="https://stackoverflow.com/questions/686061/how-can-i-debug-applications-under-java-web-start-jnlp">How can I debug applications under Java Web Start (JNLP) ?</a></li>
  </ul>
  
  <p>It seems like I'm missing something.
  I've tried to run it from command line, or adding the arguments into the jnlp file but no matter what I do I get an <em><code>Unable to open debugger port : java.net.ConnectException "Connection refused: connect"</code></em> Error.</p>
  
  <p>How can I debug a web start app?</p>