Repository navigation
Closed
Labels
DebuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingNeeds: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Platform: iOSiOS applications.iOS applications.
Description
Description
The code that adds the build settings for enabling the hermes debugger will only run if the configuration is called (or maybe contains) "Debug"
Steps to reproduce
Reproducer with "Debug" scheme renamed to "Local"
https://github.com/benhandanyan/react-native-debugger-local-bug
- Clone the reproducer locally
- Install dependencies and pods
- Run the ios app with
yarn ios - Attempt to open the debugger
React Native Version
0.76.4
Output of npx react-native info
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 15.1.1
CPU: (12) arm64 Apple M2 Pro
Memory: 1.10 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.10.0
path: ~/.nvm/versions/node/v20.10.0/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v20.10.0/bin/npm
Watchman:
version: 2024.09.30.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/benjamin/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9971841
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /Users/benjamin/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.4
wanted: 0.76.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
### Screenshots and Videos
_No response_
Metadata
Metadata
Assignees
Labels
DebuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingNeeds: AttentionIssues where the author has responded to feedback.Issues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Platform: iOSiOS applications.iOS applications.
Activity
react-native-bot commentedon Dec 7, 2024
Warning
Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
Enable hermes debugger by configuration type instead of configuration…
Enable hermes debugger by configuration type instead of configuration…
Enable hermes debugger by configuration type instead of configuration…
KevinSheedy commentedon Mar 27, 2025
Hi @bhandanyan-nomad
Are you aware of a workaround for this on react-native v0.73.10? Can it be enabled explicitly?
When I try run an app using any XCode config not named exactly "Debug" it fails with an error:
Thanks
cipolleschi commentedon Mar 27, 2025
the issue is fixed in the supported versions of react native (0.76 --> 0.78). Version 0.73 is out of support and we highly recommend to upgrade.
That said, you should be able to patch react native applying changes similar to the one in this commit. The codebase might have changed, so it is unlikely that you can apply the commit as it is.