6 ms·
One of the game-breaking things about the older JavaScriptCore engine on Android was that when I debug on Chrome, it has a totally different engine (V8) so, the
by gtbono 7y ago
One of the game-breaking things about the older JavaScriptCore engine on Android was that when I debug on Chrome, it has a totally different engine (V8) so, there were code that ran correctly when debugging but crashed on-device.
Will Hermes be able to solve this debugging issue?
- koala_man 7y agoDeveloper here. Yes, it will. JS code you debug through Chrome will still be running on Hermes.
- danabramov 7y agoHermes is using the same debugging protocol as Node. So yes, debugging in Chrome actually runs Hermes code on the device.
- danabramov 7y agoCorrection: this is not documented yet, but it should already work. Documentation is coming soon.
- simscitizen 7y agoThe current open-source release doesn't have the component that glues the RN inspector with the Hermes debugger to make on-device debugging of Hermes bytecode work. But Hermes does contain a debugger interface, and making this flow this work will happen sometime in the future.
- simscitizen 7y agoLooks like I was wrong and it’s just the docs that are missing.