Forum Documentation Showcase Pricing Learn more

[Plugins for Beginners] - Debugging Server Side Action Code


#1

I’m new to building server actions, and debugging them can feel rather challenging, so I’m documenting here my experience!

What Needs Refreshing
If you change details of Fields and Returned Values, then you need to refresh your Bubble Editor where the action is used before the changes are recognised.
If you only change the javascript code, then you don’t need to do this, and you can just refresh your app itself.

Error Message Line Number
When the code fails, you get a message with lots of random numbers:

Plugins%20(6)

If you take the number after the word “anonymous”, and subtract 2, this is your line number!


[Plugins for Beginners] - Tips I Have Written