Skip to content

Commit 84d7b34

Browse files
Kudogabrieldonadel
authored andcommitted
Enable hermes debugger on all build variants (#42)
1 parent 38478e3 commit 84d7b34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/react-native/ReactCommon/jsinspector-modern/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ target_link_libraries(jsinspector
2828
)
2929
target_compile_reactnative_options(jsinspector PRIVATE)
3030
target_compile_options(jsinspector PRIVATE
31-
$<$<CONFIG:Debug>:-DREACT_NATIVE_DEBUGGER_ENABLED=1>
32-
$<$<CONFIG:Debug>:-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1>
31+
# Expo Go requires debugging on release builds
32+
-DREACT_NATIVE_DEBUGGER_ENABLED=1
33+
-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1
34+
# $<$<CONFIG:Debug>:-DREACT_NATIVE_DEBUGGER_ENABLED=1>
35+
# $<$<CONFIG:Debug>:-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1>
3336
)

0 commit comments

Comments
 (0)