Debug

How to Debug a Shell Script ??
Bash shell offers debugging options which can be turn on or off using the set command set -x Display commands and their arguments as they are execute...
ksh debug mode
How do I run a ksh file in debug mode? How do I run a Unix script in debug mode? What is debug mode in Linux? How do I enable debugging in Linux? How ...