Skip to content

Commit

Permalink
Remove all Experimental tags for Hermes debugging #2094
Browse files Browse the repository at this point in the history
  • Loading branch information
lexie011 committed Jan 24, 2024
1 parent b18c109 commit 6ad9254
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
},
{
"command": "reactNative.debugScenario.debugInHermesExponentExperimental",
"title": "Debug in Hermes Exponent - Experimental",
"title": "Debug in Hermes Exponent",
"category": "React Native",
"enablement": "!config.security.workspace.trust.enabled && !inDebugMode || isWorkspaceTrusted && !inDebugMode",
"icon": "$(debug-alt)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class DebugScenarioNameGenerator {
);
}

if (platformType === PlatformType.ExpoWeb) {
if (platformType === PlatformType.ExpoWeb || !useHermesEngine) {
isExperimental = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ export class ReactNativeDebugConfigProvider implements vscode.DebugConfiguration
state.config.type,
state.config.platform,
state.config.useHermesEngine !== false,
true,
);
}
} else {
Expand Down

0 comments on commit 6ad9254

Please sign in to comment.