[bash] How to debug a bash script?