IntelliJ, running glassfish in debug mode, Artifact not being deployed
<p>System: Mac OS</p>

<p>IntelliJ: 2016.1.4</p>

<p>Glassfish: 4.1.1 (build 1)</p>

<p>JDK: jdk1.8.0.0_91.jdk</p>

<p>Java: JavaEE 7 </p>

<p>IntelliJ cannot run glassfish in debug mode. Initially debug mode ran fine: although port (9009) needed to be killed ever now and then. </p>

<p>Every time glassfish is started in --debug mode (from IntelliJ) the application hangs at: Artifact is being deployed, please wait...</p>

<p>Passed environment variables:</p>

<p><i>JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:9009,suspend=y,server=n</i></p>

<p>Please see screen shots attached </p>

<ul>
<li><p><a href="https://i.stack.imgur.com/nL8Jr.png" rel="nofollow noreferrer">for debug output log</a></p></li>
<li><p><a href="https://i.stack.imgur.com/7iGMI.png" rel="nofollow noreferrer">for glassfish attached process log</a></p></li>
</ul>

<p>Any help would be greatly appreciated.</p>

<p>current checks:</p>

<ul>
<li><p>start intellij with sudo</p></li>
<li><p>reinstall glassfish </p></li>
<li><p>change debug port </p></li>
</ul>