# Problem with debugging a popup or group focus

**URL:** <https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344>\
**Category:** Questions\
**Created:** [September 30, 2024, 11:57pm UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344 "2024-09-30T23:57:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ken1](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@ken1](https://forum.bubble.io/u/ken1)\
**Post date:** [September 30, 2024, 11:57pm UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344/1 "2024-09-30T23:57:11Z")

</div>

When using the debugger, it is not possible to go step-by-step when the workflow involves a popup or group focus.

The problem is when you have a break point after the popup/GF is opened, as soon as you click the Run Next button the popup/GF closes making it impossible to inspect elements or continue the workflow.

Also, there is no way to interact with the popup/GF when debugging a workflow in step-by-step. For example, if I have two workflows, one to open a GF and the other to do something after changing settings on the GF, I cannot interact with the GF once it’s open. As soon as I click the Run Next the GF closes. Also, I cannot make changes to elements on the GF when in that step in order to test the workflow. There is no way to interact with it in the debugger.

Am I missing something? Thanks!

---

<div class="post-metadata">

**Author:** ![emmanuelkibet168](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@emmanuelkibet168](https://forum.bubble.io/u/emmanuelkibet168)\
**Post date:** [October 1, 2024, 12:07am UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344/2 "2024-10-01T00:07:40Z")

</div>

Have you tried checking your pop up visibility settings also check your condition on workflow trigger to hide and show your pop up

---

<div class="post-metadata">

**Author:** ![ken1](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@ken1](https://forum.bubble.io/u/ken1)\
**Post date:** [October 1, 2024, 12:28am UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344/3 "2024-10-01T00:28:10Z")

</div>

Sure. It does hide/show with no problem.

The issue is I have elements on the popup or GF for the user to interact with. I cannot test these interactions and then step through the workflow as I can with the page directly.

If I trigger a workflow by interacting with the popup, and the workflow has a breakpoint then the debugger will stop there. But I cannot step through because as soon as I click Run Next, the popup closes and the workflow is disrupted.

In my opinion, clicking inside the debugger should not be recorded by Bubble as clicking outside of the popup/GF. This would allow it to stay open and step through the workflow or stop at a breakpoint to continue from there.

---

<div class="post-metadata">

**Author:** ![emmanuelkibet168](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@emmanuelkibet168](https://forum.bubble.io/u/emmanuelkibet168)\
**Post date:** [October 1, 2024, 12:49am UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344/4 "2024-10-01T00:49:56Z")

</div>

You can use temporary condition like When debug\_mode is “on” alternatively you should try Create a separate test page that mimics the popup but uses regular elements. This would allow you to debug the workflow in a more stable environment and then transfer the confirmed logic back to the popup

---

<div class="post-metadata">

**Author:** ![ken1](https://avatars.discourse-cdn.com/v4/letter/k/4491bb/32.png) [@ken1](https://forum.bubble.io/u/ken1)\
**Post date:** [October 4, 2024, 12:30am UTC](https://forum.bubble.io/t/problem-with-debugging-a-popup-or-group-focus/342344/5 "2024-10-04T00:30:31Z")

</div>

> [@emmanuelkibet168](#):
>
> You can use temporary condition like When debug\_mode is “on”

How would you do that? I have not seen this as an option.
