Set this environment variable :
export MAVEN_OPTS='-Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y'
If you want to just run the test,
mvn -Dtest=<test-name> test
Kumar Jayanti wrote:
> Hi,
>
> I would like to debug (using NetBeans) the EmbeddedEJBTest (unit
> test) under ejb/ejb-container. Can someone tell me how i can do it. I
> usually run mvn install to run the build which runs the unit-test.
>
> regards,
> kumar
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>