Error while executing a script is not showing up. 7.9.8

Error while executing a script is not showing up. So it makes it so difficult to troubleshoot. We need to add print statements everywhere in the code to debug the code.

Is there a fix for this issue ?

Where do you have the script that is failing? Errors usually show up if you know where to look.