-
1. Re: How to start in debug mode with wildfly-maven-plugin
gytis Jun 24, 2015 5:34 AM (in response to salaboy21)You could use javaOpts:
<configuration>
<javaOpts>
<javaOpt>-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y</javaOpt>
</javaOpts>
</configuration>
Gytis
-
2. Re: How to start in debug mode with wildfly-maven-plugin
salaboy21 Jun 24, 2015 5:45 AM (in response to gytis)That looks like an option.. but is not working with wildfly:run..
should I see something in the output related with the port being registered or something? I was trying to attach a debugger while running with those configurations and I'm keep getting Connection Refused.
-
3. Re: How to start in debug mode with wildfly-maven-plugin
gytis Jun 24, 2015 6:35 AM (in response to salaboy21)Ah sorry, I was using 1.1.0.Alpha2, not 1.0.2.Final. Try this instead:
<configuration>
<jvmArgs>-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=y</jvmArgs>
</configuration>
-
4. Re: How to start in debug mode with wildfly-maven-plugin
jamezp Jun 24, 2015 2:01 PM (in response to gytis)Yes the <javaOpt/> wasn't added until 1.1.0. You'd need to use the jvmArgs like Gytis describes.
--
James R. Perkins