# Debugging mode not getting enabled

**URL:** <https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782>\
**Category:** Gatling (Open-Source)\
**Created:** [October 3, 2025, 11:35am UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782 "2025-10-03T11:35:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishank](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@ishank](https://community.gatling.io/u/ishank)\
**Post date:** [October 3, 2025, 11:35am UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/1 "2025-10-03T11:35:04Z")

</div>

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

✅ I made sure I’ve update my Gatling version to the latest release  
✅ I read the guidelines and how to ask a question topics.  
✅ I provided a SSCCE (or at least, all information to help the community understand my topic)  
✅ 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=

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/3/3c33d1ec58ab8ffe05dec0705b9972e82c7e8311.png)

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.

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 3, 2025, 11:48am UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/2 "2025-10-03T11:48:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ishank](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@ishank](https://community.gatling.io/u/ishank)\
**Post date:** [October 3, 2025, 12:13pm UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/3 "2025-10-03T12:13:57Z")

</div>

> [@slandelle](#):
>
> I’ve just checked and it works for me.

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

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/9/9a1c06f5c850620f1c1154b2b14e2bea6909bb47.png)

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [October 3, 2025, 12:23pm UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/4 "2025-10-03T12:23:08Z")

</div>

As I said, it works on my side:

- clone [GitHub - gatling/gatling-gradle-plugin-demo-java](https://github.com/gatling/gatling-gradle-plugin-demo-java)
- create configuration  
 ![Capture d’écran 2025-10-03 à 14.19.42](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/3/31c4452785a29a0e72259e5c2b699880a2477d5a.png)
- Edit the Simulation to add a function and a breakpoint in there

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

```

- Debug
- Observe the debugger stop at the expected breakpoint  
 ![Capture d’écran 2025-10-03 à 14.22.27](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/2/280b01e37da8c2ea36d3fddd2ee4496f9226eba0.jpeg)

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

---

<div class="post-metadata">

**Author:** ![ishank](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@ishank](https://community.gatling.io/u/ishank)\
**Post date:** [October 6, 2025, 5:28am UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/5 "2025-10-06T05:28:59Z")

</div>

Hi, my env file seems to have some issue.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [November 5, 2025, 5:29am UTC](https://community.gatling.io/t/debugging-mode-not-getting-enabled/9782/6 "2025-11-05T05:29:11Z")

</div>

Closed on November 5, 2025, 5:29am UTC

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