-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Unable to debug new Hermes React Native app using Chrome DevTools #35600
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
DebuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingIssues related to React Native DevTools or legacy JavaScript/Hermes debuggingNeeds: 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.Needs: Triage 🔍StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.Tech: HermesHermes Engine: https://hermesengine.dev/Hermes Engine: https://hermesengine.dev/
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: 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.Needs: Triage 🔍StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.Tech: HermesHermes Engine: https://hermesengine.dev/Hermes Engine: https://hermesengine.dev/
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
I'm unable to debug a new React Native app that's using Hermes by following the Hermes debugging instructions found here: https://reactnative.dev/docs/hermes#debugging-js-on-hermes-using-google-chromes-devtools
Upon following those steps and opening the console in the stand alone Chrome DevTools, I see this error:
Nothing shows up in the
Sourcestab. Navigating to that URL outside of the dev tools does load the source map file successfully.I am able to debug successfully using Flipper - source maps seem to load fine there.
Version
0.71.0-rc.3
Output of
npx react-native infoSteps to reproduce
npx react-native init RN0710RC3 --version 0.71.0-rc.3cdin to project directory. Run usingyarn iosoryarn androidSnack, code example, screenshot, or link to a repository
No code example since it's reproducible using a new RN 70 or 71 project:
npx react-native init RN0710RC3 --version 0.71.0-rc.3