From bc2098f19c4aeb4ccb4af98b65cd2c47338092ee Mon Sep 17 00:00:00 2001 From: Rohit Joshi Date: Wed, 14 Dec 2022 18:08:20 +0530 Subject: [PATCH] Enable debug mode in development mode Enable debug mode when app is running in development mode --- starters/basic-starter/lib/drupal.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/starters/basic-starter/lib/drupal.ts b/starters/basic-starter/lib/drupal.ts index e8a9d887..ad073443 100644 --- a/starters/basic-starter/lib/drupal.ts +++ b/starters/basic-starter/lib/drupal.ts @@ -13,5 +13,6 @@ export const drupal = new DrupalClient( // @see https://github.com/vercel/next.js/discussions/32238 // @see https://github.com/vercel/next.js/blob/d895a50abbc8f91726daa2d7ebc22c58f58aabbb/packages/next/server/api-utils/node.ts#L504 forceIframeSameSiteCookie: process.env.NODE_ENV === 'development', + debug: process.env.NODE_ENV === 'development', }, );