question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Open Debugger in iOS simulator not working in RN 0.70.0

See original GitHub issue

Description

I started the basic AwesomeProject from the getting started in the docs and found that the Open Debugger is not working. Actually, I am unable to debug in multiple ways (safari, standalone devtools, launch.json from React Native Tools in vscode). Is this a known issue? It was working with 0.69:

Version

0.70.0

Output of npx react-native info

info Fetching system and libraries information… System: OS: macOS 12.5.1 CPU: (4) x64 Intel® Core™ i5-6287U CPU @ 3.10GHz Memory: 602.00 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.2/bin/yarn npm: 8.18.0 - ~/.nvm/versions/node/v16.13.2/bin/npm Watchman: 2022.08.29.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: Not Found Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 17.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.0 => 0.70.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

In terminal run: npx react-native init AwesomeProject

In terminal run: npx react-native start

In vscode run: npx react-native run-ios

Once ios simulator(iPhone 13, ios 15.5) opens do CMD + D on the simulator to open the menu.

Click Open Debugger

Snack, code example, screenshot, or link to a repository

Screen Shot 2022-09-06 at 6 06 16 PM

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:20
  • Comments:44 (6 by maintainers)

github_iconTop GitHub Comments

52reactions
cuongvoongcommented, Sep 7, 2022

Got the same error after I just created a new project. Setting :hermes_enabled => false resolves the problem. I disabled Flipper as well, not sure if that had any effect.

23reactions
maxmandiacommented, Sep 12, 2022

Same issue on RN 0.70.0. Confirm that RN 0.69.0 works fine.

I just switched to expo…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not get debugger in react native ios simulator to work
I opted to go back to RN 0.69.0 as it works as expected with that version. I opened an issue on the react-native...
Read more >
Debugging - React Native
You can access the developer menu by shaking your device or by selecting "Shake Gesture" inside the Hardware menu in the iOS Simulator....
Read more >
Intro to Debugging React Native (iOS and Android) - Medium
This small guide is intended to reduce that learning curve. Opening the Debug Menu on iOS. Simulator. cmd + D; cmd + ctrl...
Read more >
React Native App - Automatic Setup - Flipper
Android - start the Flipper Desktop application and start your project using yarn android . Your application will appear in Flipper. iOS -...
Read more >
Using Hermes in React Native - LogRocket Blog
Add Hermes, an open-source JavaScript engine, to your React Native ... on iOS; Building a React Native app with Hermes support; Debugging a ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found