Repository navigation
Closed
Closed
Copy link
Labels
Description
Description
I have an iOS build configuration Staging.Debug that is a copy of Debug. The experimental debugger fails to launch when running this build configuration via:
react-native start --experimental-debugger
and
react-native run-ios --mode Staging.Debug
Output from metro:
info Launching JS debugger (experimental)...
warn No compatible apps connected. JavaScript debugging can only be used with the Hermes engine.
I've confirmed that the app is using Hermes:

The debugger launches properly when doing:
react-native run-ios --mode Debug
I did a little digging and see there is a check for the Debug configuration here and here, but I'm not sure if relevant.
Staging.Debug was created by copying Debug following these instructions. I would like to debug Staging.Debug because I need certain configuration for my staging app.
Steps to reproduce
git clone git@github.com:sliptype/RNRepro1.gityarn i && pod install --project-directory=iosyarn start- In another shell
yarn ios - Launch debug menu with
CMD + Dor Device > Shake - Press Open Debugger
React Native Version
0.73.4
Affected Platforms
Runtime - iOS, Build - MacOS
Output of npx react-native info
System:
OS: macOS 14.3.1
CPU: (10) arm64 Apple M1 Max
Memory: 142.52 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.17.0
path: ~/.nvm/versions/node/v18.17.0/bin/node
Yarn:
version: 1.22.21
path: ~/.nvm/versions/node/v18.17.0/bin/yarn
npm:
version: 9.6.7
path: ~/.nvm/versions/node/v18.17.0/bin/npm
Watchman:
version: 2024.01.22.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /Users/sebastian/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/sebastian/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.4
wanted: 0.73.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Stacktrace or Logs
info Launching JS debugger (experimental)...
warn No compatible apps connected. JavaScript debugging can only be used with the Hermes engine.
Reproducer
https://github.com/sliptype/RNRepro1
Screenshots and Videos
No response
Reacted by Markus Ekblad, zhenkaGo, Fabrice Pomata, Dylan Jeffers, Ngo Dang Truong, Kostiantyn Marushchak, Eduardo Grigolo, Gabriel Monteagudo and Jean-Baptiste LARRIVIERE
Activity
truongngodang commentedon Feb 29, 2024
same issues
kmarushchakItomy commentedon Mar 1, 2024
Also experiencing this.
RN 0.73.5
ayoubbahmad commentedon Mar 7, 2024
Same issues! when I add new schemes with custom build configurations
sandeepsuthar commentedon Mar 16, 2024
Same issue while using custom configuration (Debug-QAT) with custom Scheme (QAT) but it's working as expected with Debug configuration.
fix: build settings for custom build configuration
fix: build settings for custom build configuration (react#43780)
sternlucas commentedon Apr 5, 2024
Same problem here. How can I fix this until the new version is released ?
fix: build settings for custom build configuration (#43780)
fix: build settings for custom build configuration (#43780)
fix: build settings for custom build configuration (#43780)