Skip to content

Commit

Permalink
Use DEBUG env var to turn on debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Sep 3, 2024
1 parent bc799b2 commit d11c0a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion selenium/bin/suite_template
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash

set -x
if [[ ! -z "${DEBUG}" ]]; then
set -x
fi


SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SUITE=$(caller)
Expand Down

0 comments on commit d11c0a9

Please sign in to comment.