From 628944bf87c63a4af6fdf278df58ea5a93140480 Mon Sep 17 00:00:00 2001 From: matticbot Date: Thu, 27 Aug 2026 21:02:38 +0000 Subject: [PATCH] Set JETPACK_DEV_DEBUG=true on all Studio sites to enable Jetpack Offline Mode Co-Authored-By: Claude Sonnet 4.6 --- apps/cli/lib/native-php/blueprints.ts | 2 ++ apps/cli/playground-server-child.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/apps/cli/lib/native-php/blueprints.ts b/apps/cli/lib/native-php/blueprints.ts index 46aad1be26..a32669a23f 100644 --- a/apps/cli/lib/native-php/blueprints.ts +++ b/apps/cli/lib/native-php/blueprints.ts @@ -95,6 +95,8 @@ export async function runBlueprint( WP_DEBUG: enableDebugLog || enableDebugDisplay, WP_DEBUG_LOG: enableDebugLog, WP_DEBUG_DISPLAY: enableDebugDisplay, + // Enable Jetpack Offline Mode so Jetpack Account Protection is bypassed on local sites. + JETPACK_DEV_DEBUG: true, }; blueprint.contents.constants = { diff --git a/apps/cli/playground-server-child.ts b/apps/cli/playground-server-child.ts index dc14d0f220..3950bc0d0f 100644 --- a/apps/cli/playground-server-child.ts +++ b/apps/cli/playground-server-child.ts @@ -291,6 +291,8 @@ async function getBaseRunCLIArgs( WP_DEBUG: enableDebugLog || enableDebugDisplay, WP_DEBUG_LOG: enableDebugLog, WP_DEBUG_DISPLAY: enableDebugDisplay, + // Enable Jetpack Offline Mode so Jetpack Account Protection is bypassed on local sites. + JETPACK_DEV_DEBUG: true, }; let blueprintBundle: BlueprintBundle | undefined;