[Plugins for Beginners] - Debugging Server Side Action Code

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:


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