From ab901812a3dbbbe0e149c151b15e90f7c21b8abd Mon Sep 17 00:00:00 2001 From: Geoff Rich <4992896+geoffrich@users.noreply.github.com> Date: Sat, 13 Jul 2024 16:11:36 -0700 Subject: [PATCH] chore: more debug logs --- files/entry.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/entry.js b/files/entry.js index 1b418fc..2ae126e 100644 --- a/files/entry.js +++ b/files/entry.js @@ -29,6 +29,12 @@ export async function index(context) { const request = toRequest(context); if (debug) { + context.log( + 'Starting request', + context?.req?.method, + context?.req?.headers?.['x-ms-original-url'] + ); + context.log(`Original request: ${JSON.stringify(context)}`); context.log(`Request: ${JSON.stringify(request)}`); }