diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper
index ac8502dc..e2bfe2a3 100755
--- a/data_from_portwine/scripts/functions_helper
+++ b/data_from_portwine/scripts/functions_helper
@@ -2,6 +2,7 @@
 # Author: Castro-Fidel (linux-gaming.ru)
 # shellcheck disable=SC2140,SC2034
 ########################################################################
+$PW_DEBUG
 print_error () { printf "\E[31m%s Error: $@ %s\e[0m\n" ;}
 export -f print_error
 
diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh
index ea8ee61e..316f33de 100755
--- a/data_from_portwine/scripts/start.sh
+++ b/data_from_portwine/scripts/start.sh
@@ -3,6 +3,7 @@
 # Development assistants: Cefeiko; Dezert1r; Taz_mania; Anton_Famillianov; gavr; RidBowt; chal55rus; UserDiscord; Boria138; Vano; Akai; Htylol
 # shellcheck disable=SC2140,SC2119,SC2206
 ########################################################################
+$PW_DEBUG
 echo '
             █░░ █ █▄░█ █░█ ▀▄▀ ▄▄ █▀▀ ▄▀█ █▀▄▀█ █ █▄░█ █▀▀ ░ █▀█ █░█
             █▄▄ █ █░▀█ █▄█ █░█ ░░ █▄█ █▀█ █░▀░█ █ █░▀█ █▄█ ▄ █▀▄ █▄█
@@ -352,6 +353,9 @@ use: [--reinstall] [--autoinstall]
 
         echo "
 --generate-pot                                      generated pot file
+"
+        echo "
+--debug                                             debug scripts for PortProton
 "
         exit 0 ;;
 
@@ -367,6 +371,11 @@ use: [--reinstall] [--autoinstall]
     '--generate-pot' )
         generate_pot
         exit 0 ;;
+
+    '--debug' )
+        export PW_DEBUG="set -x"
+        /usr/bin/env bash -c "${PORT_WINE_PATH}/data/scripts/start.sh"
+        exit 0 ;;
 esac
 
 ### GUI ###