From eee286650834bf64ee745a0bffd7b3bb87f3c841 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Mon, 6 Jan 2025 07:02:22 -0800 Subject: [PATCH] Fix InspectorFlags debug default, clean up legacy Buck opt in (#48504) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48504 Following D67857739, fixes accidental change where the removed `ReactNativeFeatureFlags` flag read was not replaced with `true`. This temporarily disabled Fusebox on `main`, where not configured via other build flags. {F1974195736} Changelog: [Internal] Reviewed By: robhogan Differential Revision: D67857739 fbshipit-source-id: 2a6fb2e6733035245e7ad959c7d3c650a9fde994 --- .../ReactCommon/jsinspector-modern/InspectorFlags.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp b/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp index 4ec42011358..4ff7e1bbb61 100644 --- a/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp +++ b/packages/react-native/ReactCommon/jsinspector-modern/InspectorFlags.cpp @@ -51,8 +51,7 @@ const InspectorFlags::Values& InspectorFlags::loadFlagsAndAssertUnchanged() true, #elif defined(REACT_NATIVE_FORCE_DISABLE_FUSEBOX) false, -#elif defined(HERMES_ENABLE_DEBUGGER) && \ - defined(REACT_NATIVE_ENABLE_FUSEBOX_DEBUG) +#elif defined(HERMES_ENABLE_DEBUGGER) true, #elif defined(REACT_NATIVE_ENABLE_FUSEBOX_RELEASE) true,