Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InspectorFrontEndApi is not defined during chrome remote-debugging

I am trying to setup remote debugging for my devices. I followed https://developers.google.com/chrome-developer-tools/docs/remote-debugging#remote-debug and everything worked almost fine. I can see the devices at chrome://inspect and control the browser tabs. However, when I try to "inspect" I see a blank page. I found Chrome devtools with Android and Windows XP, blank window which illustrates my problem exactly. The only difference being, I am using Ubuntu 12.04 and am running the chrom{e,ium} packages provided from the ubuntu repository. I tried inspecting with both chromium (32.0.1700.102) and google-chrome (32.0.1700.107). In the terminal, I get the following errors:

[19681:19681:0215/183805:ERROR:CONSOLE(1)] "Uncaught ReferenceError: InspectorFrontendAPI is not defined", source:  (1)
[19681:19681:0215/183805:ERROR:CONSOLE(1)] "Uncaught ReferenceError: InspectorFrontendAPI is not defined", source:  (1)
[19681:19681:0215/183805:ERROR:CONSOLE(1)] "Uncaught ReferenceError: InspectorFrontendAPI is not defined", source:  (1)
[19681:19681:0215/183805:ERROR:CONSOLE(1)] "Uncaught ReferenceError: WebInspector is not defined", source:  (1)

I get the same errors in the developer console (After pressing Ctrl+Shift+I in the blank inspect page).

I have the latest Chrome Beta installed on both my devices.

Is this a bug or am I missing something?

like image 317
shachibista Avatar asked Apr 24 '26 23:04

shachibista


1 Answers

It's problem about network. For example, GFW of china will stop the devTool js from being loaded.(If you use charles, you could find that most js request to google failed with status of 404)

VPN would solve this problem.

like image 152
ahuigo Avatar answered Apr 27 '26 14:04

ahuigo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!