Unable to debug gatling simulation in IJ IDEA

Hi!

I’m starting to work heavily with Gatling, the tool looks great.

I encounter a problem debugging though:

  1. I have SBT task configured: “gatling:testOnly com.placester.services.accounts.CreateAccount”
  2. CreateAccount extends GatlingHttpFunSpec.

When trying to debug with breakpoint set ( and reachable) it does not stop, instead the scenario is run.

Output ( first 2 lines anyways), the rest it test run.

`
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:61362,suspend=y,server=n -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -Denv.name=staging -Dgatling.core.directory.data=./user-files/data/servicesdata/ -Dfile.encoding=UTF-8 -classpath “/Users/nataliegabinoff/Library/Application Support/IdeaIC2016.1/Scala/launcher/sbt-launch.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar” xsbt.boot.Boot “gatling:testOnly com.placester.services.accounts.CreateAccount”
Connected to the target VM, address: ‘127.0.0.1:61362’, transport: ‘socket’

`

Any suggestions/insights are more than welcome!

Tali