Local debugging application launched on tomcat with cargo in IntelliJ
<p>I am trying to enable debugging in my cargo configuration. I'm using cargo-maven2-plugin version 1.4.19 with the following configuration.</p>

<pre><code>&lt;plugins&gt;
  &lt;plugin&gt;
    &lt;groupId&gt;org.codehaus.cargo&lt;/groupId&gt;
    &lt;artifactId&gt;cargo-maven2-plugin&lt;/artifactId&gt;
    &lt;version&gt;1.4.19&lt;/version&gt;
    &lt;configuration&gt;
      &lt;container&gt;
        &lt;containerId&gt;tomcat8x&lt;/containerId&gt;
      &lt;/container&gt;
      &lt;configuration&gt;
        &lt;type&gt;standalone&lt;/type&gt;
        &lt;properties&gt;
        &lt;cargo.servlet.port&gt;8080&lt;/cargo.servlet.port&gt;
        &lt;cargo.jvmargs&gt;
          -Xmx2048m
          -Xms512m
          -Xdebug
          -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=63342
          -Xnoagent
          -Djava.compiler=NONE
        &lt;/cargo.jvmargs&gt;
      &lt;/properties&gt;
    &lt;/configuration&gt;
    &lt;deployer&gt;
    &lt;/deployer&gt;
    &lt;deployables&gt;
      &lt;deployable type="war" file="target/spa.war"&gt;&lt;/deployable&gt;
      &lt;/deployables&gt;
    &lt;/configuration&gt;
  &lt;/plugin&gt;
</code></pre>

<p>The application launches with this configuration but IntelliJ never connects to the JVM to enable debuging. How can I make IntelliJ connect to the JVM?</p>