june07/NiM

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

nyanpasu64 opened this issue · 2 comments

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.

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.

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