How to debug the Web Agent or Policy Server installer on Linux / Unix

Blog Post created by Patrick-Dussault Employee on Apr 9, 2018

Use the switch -x in order to have the bash script command line
included in ca-wa-12.51-cr08-sol.bin.


To illustrate when running Web Agent installer as root :


# bash -x ./ca-wa-12.51-cr08-sol.bin -i console > output.txt 2>&1


You'll find all script debug line in output.txt