diff --git a/setup.sh b/setup.sh
index 45b51388d7ae19d00cc8df4711a641be56132e8c..25dae22b5e8a470e44f7bb3e9bc37596ddf28adb 100755
--- a/setup.sh
+++ b/setup.sh
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-set -e
+set -ex
 
 # Ensure the script doesn't fail on Github workflows
 export TERM=${TERM:-vt100}