Clone the tutorial repository from: https://github.com/arquillian/arquillian-examples
After the dependencies are resolve the project structure is shown.
Now I can set a breakpoint in a test, right click the test file and click Debug ‘GreeterTest’:
The stacktrace shows I’m debugging the test using the Arquillian stack.
The test was executed in the embedded version of Wildfly as the console window reveals:
If we want to remote debug in an running Wildfly instance (daemon or service) we have to modify the start parameters and add
--debug 8000 where 8000 is the port you want to debug.