By default, shell scripts like bash, sh, ksh etc read the script or command written in script file as it is and execute them entirely starting from identifying the relevant shell command interpreter to end but in case if there is issue in wrong scripting or that particular command or even condition does not meet the requirement it gets fail therefore we need something through which we can debug our script or get to know the reason why script is getting fail.