Skip to content

Commit 4bd6be7

Browse files
committed
better logging
1 parent ceb1506 commit 4bd6be7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/quickstart_spm_xcodeproj.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
# Modify a .xcodeproj to use a specific branch, version, or commit for the
1818
# firebase-ios-sdk SPM dependency.
1919

20-
set -xeuo pipefail
20+
set -euo pipefail
21+
22+
# Enable trace mode if DEBUG is set to 'true'
23+
if [[ "${DEBUG:-false}" == "true" ]]; then
24+
set -x
25+
fi
2126

2227
# --- Argument parsing ---
2328
if [[ $# -lt 2 ]]; then

0 commit comments

Comments
 (0)