Skip to content

Instantly share code, notes, and snippets.

@Miliox
Created April 7, 2015 23:39
Show Gist options
  • Select an option

  • Save Miliox/890ec2eeb4d2ef45c8a9 to your computer and use it in GitHub Desktop.

Select an option

Save Miliox/890ec2eeb4d2ef45c8a9 to your computer and use it in GitHub Desktop.
Enable Script Tracing to Debug Shell Scripts
#!/bin/bash
set +x
set +o functrace
#!/bin/bash
# usage: source enable_tracing.sh
set -x
set -o functrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment