Skip to content

Findings and HowTo Fix them

Dirk Wetter edited this page Jun 7, 2016 · 7 revisions

Small Debugging HowTo

Extended debugging output

Two options here:

  • Run the whole script with --debug=1 --log. Then tar -cvzf mydebug.tgz /tmp/ssltester.<randomstring> <nameoflogfile>
  • Run the section where the problem is (see --help): script -c "bash -vx optionfortherightsection>"

Debug yourself


  • spot the section where the bug is
  • edit the script and put after the section an exit 0
  • switch on debugging either by
    • editing the program and add before a set -x, run the section of the script
    • run the script with bash -vx <<optionfortherightsection>>
You can’t perform that action at this time.