Skip to content

Debugging Tips

Jacky Xu edited this page Jul 28, 2019 · 5 revisions

Running scripts individually

  1. In the terminal, source the script located at ~/vagrant-scripts/bootstrap/bootstrap.sh
  2. Your bash session should now be set up to run scripts individually. Check this by running echo $HAS_BOOTSTRAPED and ensure it returns "true".
  3. You may now run individual scripts by simply typing the script name, eg. install-intellij
  4. When debugging a failed script, add set -x at the beginning of the script to see which commands failed.

Clone this wiki locally