you could just do a console.log(ex) in the console...
# suitescript
c
you could just do a console.log(ex) in the console and you could inspect it manually but serverside is where the issue is bad