I am using set -e to stop execution of a script on first error.
set -e
The problem is that this does not tell me what went wrong.
How can update a bash scr
Have you tried with --verbose?
--verbose
bash --verbose script.sh