title: Remote Debugging with Intellij Idea
body: <p>I came to know of the remote debugging procedure under Idea recently. What I do is copy the configuration of remote debug under Run | Debug Configuration in Idea to the command line java execution parameters. The actual command line parameters are: </p>
  
  <pre><code>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
  </code></pre>
  
  <p>If it is a script, I add these commands to it. By doing so, the command line displays the message:</p>
  
  <pre><code>Listening for transport dt_socket at address: 8000
  </code></pre>
  
  <p>So the debugging can happen using the local source code. However, I don't properly understand how remote debugging work. Anyone who knows how remote debugging actually works, please give me an explanation.</p>
  
  <p>Thank you!</p>