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

Use node devtools url #761

Closed
wants to merge 1 commit into from

Conversation

janicduplessis
Copy link
Contributor

Summary

This uses the new chrome devtools ui, this is the one used by the nodejs inspector. It is more focused on js debugging / profiling instead of general browser devtools.

Test plan

Tested that it works in Flipper and also when opened directly in chrome.

Before

image

After

image

@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. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jan 24, 2022
@janicduplessis
Copy link
Contributor Author

Note that the Profiler tab is currently broken in flipper, see facebook/flipper#3355

However this functionality is not working currently anyway since it's not integrated with hermes so it should not block this.

@facebook-github-bot
Copy link
Contributor

@rh389 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@robhogan
Copy link
Contributor

robhogan commented Feb 9, 2022

Thanks @janicduplessis !

@janicduplessis janicduplessis deleted the devtools-url branch February 9, 2022 17:07
ericanderson added a commit to ericanderson/metro that referenced this pull request Feb 9, 2022
* upstream/main:
  Use node devtools url (facebook#761)
  Publish 0.68.0
  fix(website): add Algolia search API key (facebook#726)
  Change github actions trigger to use `main` branch (facebook#769)
  RN preset: support async iterators, for await of (facebook#747)
  Deploy 0.171.0 to xplat
nevilm-lt pushed a commit to nevilm-lt/metro that referenced this pull request Mar 14, 2022
Summary:
**Summary**

This uses the new chrome devtools ui, this is the one used by the nodejs inspector. It is more focused on js debugging / profiling instead of general browser devtools.

**Test plan**

Tested that it works in Flipper and also when opened directly in chrome.

### Before

<img width="1396" alt="image" src="https://user-images.githubusercontent.com/2677334/150821665-1e27e6bb-62da-4d1c-8f0b-2b980c2135fe.png">

### After

<img width="1397" alt="image" src="https://user-images.githubusercontent.com/2677334/150821129-ac55243f-3a77-47cf-907c-651568e7215b.png">

Pull Request resolved: facebook#761

Reviewed By: arushikesarwani94

Differential Revision: D34105401

Pulled By: rh389

fbshipit-source-id: f4be7c3e642542e7f90a1c8b9f7535505fffceeb
nevilm-lt pushed a commit to nevilm-lt/metro that referenced this pull request Apr 21, 2022
Summary:
**Summary**

This uses the new chrome devtools ui, this is the one used by the nodejs inspector. It is more focused on js debugging / profiling instead of general browser devtools.

**Test plan**

Tested that it works in Flipper and also when opened directly in chrome.

### Before

<img width="1396" alt="image" src="https://user-images.githubusercontent.com/2677334/150821665-1e27e6bb-62da-4d1c-8f0b-2b980c2135fe.png">

### After

<img width="1397" alt="image" src="https://user-images.githubusercontent.com/2677334/150821129-ac55243f-3a77-47cf-907c-651568e7215b.png">

Pull Request resolved: facebook#761

Reviewed By: arushikesarwani94

Differential Revision: D34105401

Pulled By: rh389

fbshipit-source-id: f4be7c3e642542e7f90a1c8b9f7535505fffceeb
nevilm-lt pushed a commit to nevilm-lt/metro that referenced this pull request Apr 22, 2022
Summary:
**Summary**

This uses the new chrome devtools ui, this is the one used by the nodejs inspector. It is more focused on js debugging / profiling instead of general browser devtools.

**Test plan**

Tested that it works in Flipper and also when opened directly in chrome.

### Before

<img width="1396" alt="image" src="https://user-images.githubusercontent.com/2677334/150821665-1e27e6bb-62da-4d1c-8f0b-2b980c2135fe.png">

### After

<img width="1397" alt="image" src="https://user-images.githubusercontent.com/2677334/150821129-ac55243f-3a77-47cf-907c-651568e7215b.png">

Pull Request resolved: facebook#761

Reviewed By: arushikesarwani94

Differential Revision: D34105401

Pulled By: rh389

fbshipit-source-id: f4be7c3e642542e7f90a1c8b9f7535505fffceeb
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. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants