Print script traces when script errors occur.