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

Cannot open Developer Tools: "TYPEERROR: CANNOT READ PROPERTY '0' OF NULL" #53

Closed
nyanpasu64 opened this issue Sep 2, 2018 · 2 comments

Comments

@nyanpasu64
Copy link

Version 68.0.3440.106 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)

Extension Version: 0.15.0

When I switch to Auto and press Enter, or switch to Manual and click "Open DevTools", I receive error TYPEERROR: CANNOT READ PROPERTY '0' OF NULL.

Host is localhost or 127.0.0.1, port is 9229.

@nyanpasu64
Copy link
Author

nyanpasu64 commented Sep 2, 2018

This happens when I'm running --inspect-brk with a Node v8.9.3 application and environment ELECTRON_RUN_AS_NODE=true. Although the URL is visible via http://localhost:9229/json/list, neither Chromium's Node detector nor NiM recognize the app.

Both attach automatically to a node v8.10.0 shell run via the command line.

I think this is 2 issues: Poor error handling in NiM, and inability to recognize ELECTRON_RUN_AS_NODE=true.

@june07
Copy link
Owner

june07 commented Sep 3, 2018

Could you copy the output from http://localhost:9229/json and http://localhost:9229/json/list and paste it here.

@june07 june07 closed this as completed Oct 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants