Are you using the managed or the embedded container?
If you are using managed you should be able to do:
-Djboss.options="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y"
If you are using embedded -Dmaven.surefire.debug should work as normal.
Stuart
On 22/03/2011, at 6:37 AM, Anil Saldhana wrote:
You might wonder why I cannot start AS7 in JPDA mode and debug in
Eclipse.
The issue is Arquilian tries to start the container again and I see
"Address in use" exceptions in the
log. This is even after I have used
=======
@RunWith(Arquillian.class)
@Run(RunModeType.AS_CLIENT)
=======
annotations.
So I am not sure if Arquilian can check whether AS7 is already running.
If yes, don't try to start the containers.
On 03/21/2011 12:56 PM, Anil Saldhana wrote:
> Hi all,
> I have a test case that constructs a web archive using arquilian and
> then deploys on AS7.
>
> But I am not seeing any way to use JPDA on AS7 via the JUnit test
> because Arquilian is starting the container. Neither the standalone.conf
> JPDA settings nor the vm arguments set in eclipse allow me to trace
> through AS7 code.
>
> Anybody else faced this?
>
> Regards,
> Anil
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev