title: Debug Jboss 7.x with intellij idea
body: <p>I am trying to debug the application on my macbook pro ( os Mountain Lion ). But when I click on debug it is alerting that: <code>unable to connect localhost 4010</code>. I set the port to 4010 on jboss. Here is the output while app starting.</p>
  
  <pre><code>Listening for transport dt_socket at address: 4010
  </code></pre>
  
  <p>On Jidea; settings for debug is "remote server" 
  Remote Connection Settings; </p>
  
  <pre><code>host : localhost
  port : 4010
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/7ReDC.png" alt="The config ss1">
  <img src="https://i.stack.imgur.com/Kytr2.png" alt="The config ss2"></p>