Running the bash script in debug mode help us understand what is going on in the script before getting the output. This also help us find why our program didn't run if there is any issue.
It is just like step by step processing of the bash program.
We can use the below command to run the bash script in debug mode in run time.
It is just like step by step processing of the bash program.
We can use the below command to run the bash script in debug mode in run time.