Debugging mode not getting enabled

Gatling version: 3.14.3.7
Gatling flavor: java
Gatling build tool: gradle

:white_check_mark: I made sure I’ve update my Gatling version to the latest release
:white_check_mark: I read the guidelines and how to ask a question topics.
:white_check_mark: I provided a SSCCE (or at least, all information to help the community understand my topic)
:white_check_mark: I copied output I observe and explain what I think should be.

Hello Devs,

I have been trying to enable debugging mode in intellij idea and using the following configs:
using command
gatlingRun --same-process --simulation=

but everytime i runs it fails never start in debugging mode.
Is there any other way to make it work? I have followed all the steps mentioned in the docs.

I’ve just checked and it works for me.
Are you sure you’re launching “Debug” and not “Run”?
Also, make sure to update your IntelliJ IDEA version, there was a regression that was fixed some times ago.

yes using debug button Intellij version is IntelliJ IDEA 2025.1.1.1 (Ultimate Edition)
error log:

As I said, it works on my side:

  private static final ScenarioBuilder scenario = scenario("Scenario").exec(
      http("Session").get("/session"),
      exec(session -> {
        System.out.println("Hello");
        return session;
      })
  );

Please provide a way for us to reproduce your problem on our end.

Hi, my env file seems to have some issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.