How to debug a shell script ?

Simple but very useful..

$ bash -xv wso2server.sh