I've got a Korn shell script which I'm trying to debug with the aid of the "-x" switch, and it works for a while (i.e. as the script executes) until a function is called, then the shell stops displaying the commands as it executes. When the function returns, the commands are displayed again.

How do I get it to display commands for the entire script?

Kevin