-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose HERMES_DEBUGGER_ENABLED via HermesInternal.getRuntimeProperties
Summary: Expose the build flag `HERMES_DEBUGGER_ENABLED` at runtime via the "Debugger Enabled" prop on `HermesInternal.getRuntimeProperties`. `HERMES_DEBUGGER_ENABLED` is typically set for `dev` and `dbg` builds of Hermes, as well as profile builds of apps, but it may be specifically overridden so I don't know of a reliable way to infer it when diagnosing a prebuilt app. Reviewed By: avp Differential Revision: D55871440 fbshipit-source-id: a0ddb9e525f0f3efc4b96a5a23745dcb8a68b547
- Loading branch information
1 parent
c8655e9
commit c2f7dcd
Showing
4 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters