How to use the debugger to find missing elements

Headshot of Matt the Planet No Code Bubble Coach

Need 1 to 1 help?

Your no-code consultant & Bubble tutor.

In this tutorial we demonstrate how to use the Bubble Debugger bar to debug why an element is not visible when it should be. First we check the page element on the Bubble app page with the Inspect tool and element search, then we run our Workflow using Step by Step.

here of an option set called View.

And my
on the page saying the page is view, that's my option set from the repeating group here is settings, make this visible. But as you can see, when I click on settings, nothing is happening. Now this is an oversimplification, but it's still a very common mistake that I see in the Bubble coaching that I do week to week, day to day with other Bubble app creators.

And that is that basically we've missed something. And so we can use the debugger to work out where exactly we're missing a step. So to begin with, I'm going to open up Inspect and search for settings. I can now hone in on the settings group. Even though it's not visible on my page, I can look it up and I can see that current page view is settings. The condition isn't activated, and so that's why it's not visible. And so I can go on to page view and I can see it's still set to dashboard. Actually, with the inspector still open, I'm going to bring it down, hit stop, and then I'm going to go step by step. I can see, okay, right, let's debug my workflows now. So when I click on settings, text is clicked,
of clicking on settings isn't actually changing the custom state value. So I think I've narrowed it down to my workflow then, which is to go on to my when current cell's view is clicked, set custom state R, and I've missed the value.

And so I can change this instead to current cell's view because I'm using a repeating group to go through each of the different views I've got on my dashboard. I'm not just wanting to hard code in settings. I'm saying current cell's view so that then I only need one workflow for each of my menu items here. So now I've updated that. You can see it's working. If we go step by step and I click on order, you can see now that I'm putting orders in as my custom state view value. And if I click on settings, run it, and then go on to inspect settings, we can see that it is now visible. The condition is active condition one, and that is because as we can see, my custom state's value is view.

So there you have it. That is yet another way of how you can use the debugger bar in Bubble to just methodically work through why something in your app is not behaving as you expect it. In this case, why something that I would have thought should be visible on my page was not visible. I used the debugger bar to first check the element on the conditions, and then I narrowed it down to my work order flow, and I discovered that I had missed a key part of the workflow action to say change the custom state to this value.