This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 404
Hermes Debugger not stopping on breakpoints #250
Labels
Comments
I made a quick investigation, but I don't know this part of the codebase. Sorry https://github.com/facebook/react-native/tree/main/ReactCommon/hermes/inspector/chrome - (BOOL)isRemoteDebuggingAvailable
{
if (RCTTurboModuleEnabled()) {
return NO;
}
Class jsDebuggingExecutorClass = objc_lookUpClass("RCTWebSocketExecutor");
return (jsDebuggingExecutorClass != nil);
} public void setRemoteJSDebugEnabled(final boolean isRemoteJSDebugEnabled) {
if (!mIsDevSupportEnabled) {
return;
}
UiThreadUtil.runOnUiThread(
new Runnable() {
@Override
public void run() {
mDevSettings.setRemoteJSDebugEnabled(isRemoteJSDebugEnabled);
handleReloadJS();
}
});
} |
@fabriziobertoglio1987 that code is for the old "Chrome debugging flow", not for Flipper debugger for Hermes |
@fkgozali can we add Hermes debugging in devsetting cmd+D instead of React Native Experiment inspect? |
Closing off since we are deprecating the repo - if the problem persists please open an issue either in react-native core, or the hermes repo. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version
0.66.0-rc.2
Developer Environment
macOS, Intel,
Issue and Reproduction Steps
When attempting to set breakpoints in devtools they are not hitting but
debugger
statements do.Steps to repro:
npx react-native init --version 0.66.0-rc.2 MyTestProject662
and start metronpm start
Expected:
Actual:
Note:
The text was updated successfully, but these errors were encountered: