Skip to content

Commit d64550a

Browse files
alanjhughesgabrieldonadel
authored andcommitted
Enable hermes debugging in bridgelesshermes
1 parent e39e491 commit d64550a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/react-native/ReactCommon/react/runtime/hermes/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,11 @@ if(${CMAKE_BUILD_TYPE} MATCHES Debug)
3535
PRIVATE
3636
-DHERMES_ENABLE_DEBUGGER=1
3737
)
38+
else()
39+
target_compile_options(
40+
bridgelesshermes
41+
PRIVATE
42+
# Expo Go requires debugging on release builds
43+
-DHERMES_ENABLE_DEBUGGER=1
44+
)
3845
endif()

0 commit comments

Comments
 (0)