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 at the beginning of the line suppress echo of this first line
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With