title: Eclipse Start Weblogic in debug Mode error : “Failed to connect to remote VM”
body: <p>I know this question may be asked several times, but my question is a little bit different.</p>
  
  <p>I can start Weblogic server in Eclipse without error.</p>
  
  <p>I tried to start in Eclipse Weblogic Server in debug mode to debug a LOCAL application (not remote debug), but I got the “Failed to connect to remote VM” error. To make sure the problem is from Eclipse, I started manually Weblogic with startWeblogic.cmd with <code>debugFlag=true</code> in the bin\setDomainEnv.cmd, and then in Eclipse tried debugging Remote Java Application with the same debug port, the debug worked without error.</p>
  
  <p>I also tried to compare the output of both launch method, they both contain the option for "Starting WLS with line": <code>-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8022,server=y,suspend=n</code>. The only difference is that in Eclipse there's the java version, but no in Weblogic version.</p>
  
  <p>I tried the solution in <a href="https://stackoverflow.com/questions/975384/eclipse-error-failed-to-connect-to-remote-vm">Eclipse Error: “Failed to connect to remote VM”</a>, checking whether the debug port is occupied, and it is occupied by the same process java.</p>
  
  <p>Another strange thing is that when I launch debug mode in Eclipse when the server is stopped, the error appears once. When I launch debug when in Eclipse when the server is started, the same error appears twice.</p>
  
  <p>I'm using proxy in Eclipse, and I have to. But I was using the same configuration before when there was no such error.</p>
  
  <p>Could you please help me with something I can check for the Weblogic Eclipse plugin? Thanks very much!</p>