Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React Native Hermes JS engine debugging support #1073

Closed
30 of 31 tasks
SounD120 opened this issue Aug 14, 2019 · 1 comment
Closed
30 of 31 tasks

Add React Native Hermes JS engine debugging support #1073

SounD120 opened this issue Aug 14, 2019 · 1 comment

Comments

@SounD120
Copy link
Contributor

SounD120 commented Aug 14, 2019

Description

Facebook released Hermes JS engine and implemented it to React Native Android. This engine is compatible with Chrome DevTools Protocol so we need to investigate how to implement Hermes debugging in React Native Tools.

Important notice

Currently, Hermes doesn't fully support Chrome debugger protocol, so there are some gaps in its implementation. If something not working as expected will be noticed (like object inspector bugs) in the extension debugger then the same thing should be tested in the latest Chrome (Run app, attach to it in Chrome, check how Chrome debugger behave in the same debug scenario).
Here is the Hermes debugging issues list.

Implementation roadmap

  • Run Android scenario support
  • Attach to packager scenario support
  • Debug in Expo scenario support (Expo doesn't support Hermes yet, here's a roadmap for adding it)
  • Support debugging on Android devices
  • Support debugging on Android emulators
  • Command pallete commands support
    • React Native: Reload App
    • React Native: Show Dev Menu
    • React Native: Run Android on Device
    • React Native: Run Android on Emulator
    • React Native: Run Element Inspector
    • React Native: Start Packager
    • React Native: Restart Packager
    • React Native: Stop Packager
  • Support existing debug scenarios properties
    • cwd
    • target
    • env
    • envFile
    • trace
    • address
    • port
    • logCatArguments
    • runArguments
    • skipFiles
    • launchActivity
    • variant
    • sourceMaps
    • sourceMapPathOverrides
  • Support multi-root workspaces
  • Add tests
@SounD120
Copy link
Contributor Author

SounD120 commented Oct 5, 2020

Hermes Direct debugging for the extension has been added. With respect to Hermes Expo - I think it might be tracked as another issue when it is released.

@SounD120 SounD120 closed this as completed Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants