From c24e16e8cdea3b299078e5592c0a8cafac1a3319 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Feb 2022 00:19:12 +0530 Subject: [PATCH] debug function --- shell-integration/ssh/bootstrap.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell-integration/ssh/bootstrap.sh b/shell-integration/ssh/bootstrap.sh index 9d85561b8..a7485945d 100644 --- a/shell-integration/ssh/bootstrap.sh +++ b/shell-integration/ssh/bootstrap.sh @@ -13,6 +13,7 @@ cleanup_on_bootstrap_exit() { } trap 'cleanup_on_bootstrap_exit' EXIT die() { echo "$*" >/dev/stderr; cleanup_on_bootstrap_exit; exit 1; } +debug() { printf "\033P@kitty-print|%s\033\\" "$(echo -n "debug: $1" | base64)"; } data_started="n" data_complete="n"