Yes this isn’t that easy to do.
But what do you want to bring it up for? To spot the point of failure?
If so, I would suggest posting yourself console.logs() throughout your code that show you the progress of each component of your script. If you’re not seeing an error in the console already, this is probably your best bet to isolate it. And feel free to post it here.