I can confirm that updating my pom.xml to use the pom from the Java example project (which among other things upgrade Gatling to the latest version) fixes the issue with the debugger.
I’m seeing breakpoints being hit during scenario setup:
However, when I actually try to run the scenario (the setUp function), I get the following exception:
[ERROR] Failed to execute goal io.gatling:gatling-maven-plugin:4.20.1:test (default-cli) on project publisher-perf-tests: Gatling failed.: InvocationTargetException: module java.base does not open java.lang to unnamed module @2d683b2d -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Disconnected from the target VM, address: '127.0.0.1:57164', transport: 'socket'
