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 73e7cd4 commit 1600ec9
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 1600ec9

Please sign in to comment.