I thought I’d share a process I use for debugging my projects. It involves creating a function that can be used over and over throughout the code blocks in order to help determine where things are going wrong, whether or not certain blocks are ever triggering, and what the values of several variables are.
Here’s a screenshot of what I’ve set up:
The real power comes from being able to quickly change the delay (and even set it to 0 seconds) or just remove the contents of the function so that it doesn’t run at all when you’re ready to publish. I cover all of that in the video.
If you want to try out the project yourself: https://x.thunkable.com/copy/741e7ea3a9d1d03e19ea6ef33f0db9d9
And a video that shows how to do this and explains why I do it this way: