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

hide "Open Debugger" item when using local bundle #42873

Closed
wants to merge 1 commit into from

Conversation

EdmondChuiHW
Copy link
Contributor

Summary:
Changelog:
[iOS][Fixed] Hide the "Open Debugger" item from dev menu if the bundle is local

Existing

In our dev menu, the "Open Debugger" menu item is shown even if Metro isn't connected.

{F1434746954}

In this PR

The "Open Debugger" menu item is disabled when Metro is disconnected.

Connect to Metro to debug JavaScript

{F1451344668}

Differential Revision: D53354110

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Feb 5, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53354110

EdmondChuiHW added a commit to EdmondChuiHW/react-native that referenced this pull request Feb 5, 2024
…42873)

Summary:

Changelog:
[iOS][Fixed] Disable the "Open Debugger" item from dev menu if packager is disconnected

# Existing
In our dev menu, the "Open Debugger" menu item is shown even if the packager isn't connected.

{F1434746954}

# In this PR
The "Open Debugger" menu item is disabled when the packager is disconnected.

{F1451344668}

# Reference
* Also on Android: D53428914

Differential Revision: D53354110
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53354110

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53354110

EdmondChuiHW added a commit to EdmondChuiHW/react-native that referenced this pull request Feb 5, 2024
…42873)

Summary:

Changelog:
[iOS][Fixed] Disable the "Open Debugger" item from dev menu if packager is disconnected

# Existing
In our dev menu, the "Open Debugger" menu item is shown even if the packager isn't connected.

{F1434746954}

# In this PR
The "Open Debugger" menu item is disabled when the packager is disconnected.

{F1451344668}

# Reference
* Also on Android: D53428914

Differential Revision: D53354110
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53354110

…42873)

Summary:

Changelog:
[iOS][Fixed] Disable the "Open Debugger" item from dev menu if packager is disconnected

# Existing
In our dev menu, the "Open Debugger" menu item is shown even if the packager isn't connected.

{F1434746954}

# In this PR
The "Open Debugger" menu item is disabled when the packager is disconnected.

{F1451344668}

# Reference
* Also on Android: D53428914

Reviewed By: robhogan

Differential Revision: D53354110
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D53354110

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 6, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in bc3fe0d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants