Trouble debugging Maven integration test in Eclipse Trouble debugging Maven integration test in Eclipse selenium selenium

Trouble debugging Maven integration test in Eclipse


Maven's integration tests by default run in a forked JVM. Therefore, eclipse is unable to attach to the forked JVM and see the breakpoints.

You can force the integration-test to run in the same JVM with the -DforkMode=never option.

More here: http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html

Edit: Updated link