Is there any way in Windows batch scripts to get debug information besides adding echo everywhere? I'm looking for bash 'set -x' equivalent on Windows machine.
Just using '-x' in cygwin and running Windows script from there doesn't output this data.
Put "@echo on" at the beginning of your script
At-sign an the beginning of the line suppress echo of this first line