diff --git a/src/protocol/child.c b/src/protocol/child.c
index e5b7dbba..687a4e3c 100644
--- a/src/protocol/child.c
+++ b/src/protocol/child.c
@@ -699,7 +699,11 @@ read_startup_packet(POOL_CONNECTION * cp)
 				}
 				else
 				{
+					ereport(DEBUG1,
+							(errmsg("reading startup packet"),
+							 errdetail("guc name: %s value: %s", p, p+strlen(p)+1)));
 					p += (strlen(p) + 1);
+
 				}
 
 				p += (strlen(p) + 1);
@@ -2120,5 +2124,3 @@ static int opt_sort(const void *a, const void *b)
 {
 	return strcmp( *(char **)a, *(char **)b);
 }
-
-
