I am using Eclipse to try to debug a TestNG test that extends the Arquillian base class, org.jboss.arquillian.testng.Arquillian, on a web application deployed to the JBoss embedded container.
I have set breakpoints in the TestNG test. I start the TestNG test with a Debug configuration in Eclipse. Breakpoints set in the @Deployment createTestArchive() part of the test are hit. But any breakpoints set in the test after this point are not hit.
Any ideas how to solve this?
If it's embedded container it should work out of the box. In case of managed or remote you should configure JVM for JBoss to start in debug mode.
Here's how to do it: Debugging Arquillian tests from Eclipse