From 5ea42f5aa4defe83702fbdebf7fa67db7ec82939 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sat, 31 Oct 2020 09:01:41 -0400 Subject: [PATCH] debugging --- usr/bin/sandbox-app-launcher | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr/bin/sandbox-app-launcher b/usr/bin/sandbox-app-launcher index 5d4d96a..005822c 100755 --- a/usr/bin/sandbox-app-launcher +++ b/usr/bin/sandbox-app-launcher @@ -157,7 +157,16 @@ setup() { cat >> "${wrapper_script}" << 'EOF' #!/bin/bash +EOF + + ## Debugging. + if [ -o xtrace ]; then + cat >> "${wrapper_script}" << 'EOF' +set -x +EOF + fi + cat >> "${wrapper_script}" << 'EOF' xsession_d_file_list_executable=( "/etc/X11/Xsession.d/20torbrowser" "/etc/X11/Xsession.d/20uwt"