It is possible to debug a script by adding the -x flag to
the shell executable:
% csh -x scriptname arguments
The action of the csh, csh, can be modified with
command line parameters:
Option, Effect
-x
-X
.cshrc commands
-v
-V
.cshrc commands