Add debug logging of processed snippets

Change-Id: I2147a2e7c0d547272a9b4058fc2f86e88a90323c
diff --git a/.gitignore b/.gitignore
index 3f6d077..e715304 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@
 *.yaml
 !/mappings/*.yaml
 \#*
+*.tar
 !/cmd/termmapper/
\ No newline at end of file
diff --git a/mapper/response.go b/mapper/response.go
index 9dcc63f..6ed425c 100644
--- a/mapper/response.go
+++ b/mapper/response.go
@@ -6,6 +6,7 @@
 
 	"github.com/KorAP/KoralPipe-TermMapper/ast"
 	"github.com/KorAP/KoralPipe-TermMapper/matcher"
+	"github.com/rs/zerolog/log"
 )
 
 // ApplyResponseMappings applies the specified mapping rules to a JSON object
@@ -131,6 +132,8 @@
 		}
 	}
 
+	log.Debug().Str("snippet", processedSnippet).Msg("Processed snippet")
+
 	// Create a copy of the input data and update the snippet
 	result := make(map[string]any)
 	for k, v := range jsonMap {