title: Intelli J IDEA Unable to open debugger port (localhost:8787): java.io.IOException "handshake failed - connection prematurally closed"
body: <p>I am trying for remote debugging a java test file in intelli J IDEA.But i am getting following error.</p>
  
  <blockquote>
    <p>Error running 'test': Unable to open debugger port (localhost:8787):
    java.io.IOException "handshake failed - connection prematurally
    closed"</p>
  </blockquote>
  
  <p>I have seen solutions of editing command line argument, but it does not allow in 2019.2(ultimate edition).</p>
  
  <p>Below is my configuration.</p>
  
  <p><a href="https://i.stack.imgur.com/yLX8Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yLX8Q.png" alt="Blockquote"></a></p>
  
  <p>please help.</p>