diff --git a/tfv b/tfv
index bf32b84578219418b86818475e4a1573df098820..58f4ebfe7f9b11c21c25c5b61e5ce5167eec0cd2 100755
--- a/tfv
+++ b/tfv
@@ -1,7 +1,11 @@
 #!/bin/sh
 set -eu
 
-[ -z "${DEBUG:-}" ] || set -x
+if [ -z "${DEBUG:-}" ]
+then
+    set -x
+    env
+fi
 
 command -v terraform >/dev/null || { echo "Can't find the terraform binary, aborting." >&2; exit 1; }