From e99c5854b9d032223d1b38cab538c5f2a043a553 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 30 Oct 2023 11:12:38 -0400 Subject: [PATCH] Allow global debugging --- configs/scripts/guru-shell | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/scripts/guru-shell b/configs/scripts/guru-shell index c229665..bdd2df0 100644 --- a/configs/scripts/guru-shell +++ b/configs/scripts/guru-shell @@ -27,6 +27,13 @@ else ps1_mode="-dev" fi +# Ask if we want to force debugging for all processes +echo -n "Do you want to force debugging for all processes? (y/N)" +read force_debug +if [ "$force_debug" == "y" ]; then + export GURU_DEBUG=1 +fi + # Set PYTHONPATH based on the data we learned export PYTHONPATH="$s_drive/$studio2023_path/env$pathsep$PYTHONPATH" export PYTHONPATH="$s_drive/$studio2023_path$pathsep$PYTHONPATH"