Skip to content
This repository was archived by the owner on Apr 24, 2021. It is now read-only.
This repository was archived by the owner on Apr 24, 2021. It is now read-only.

Inspect opens an empty window #14

Open
@samhed

Description

@samhed

EDIT by admin December 2014: The following information from @gockxml is very helpful for developers in China:

致中国同胞:如果你按照要求操作最后却得到一个空窗口,翻墙后再试试。不用谢。

  1. Remote debugging with Chrome downloads files from https://chrome-devtools-frontend.appspot.com.
  2. Test your connection: Try to open https://chrome-devtools-frontend.appspot.com
  3. If it doesn't work, thats why you're getting an empty window.
    1. In this case maybe you need a VPN.

This is really a problem for people in China because the appspot.com domain is blocked by GFW. So sad.

(original issue follows…)




When clicking "inspect" next to the url of the page open on the Nexus 7 an empty window shows up and nothing happens.

screenshot from 2013-07-03 12 22 35

ADBPlugin (0.9.6) in Chrome (Version 28.0.1500.89 beta) running on Fedora 18.

Activity

MichaelRFairhurst

MichaelRFairhurst commented on Jul 3, 2013

@MichaelRFairhurst

I am having this issue as well! Please let me know if you find a solution.

On Fedora 17, chrome stable 28, nexus 4 (jellybean), adbplugin 0.9.6

Here is the data being passed to chrome.send('inspect', data); bound to the inspect link's onclick

adbDebugUrl: "/devtools/page/1"
adbFrontendUrl: "https://chrome-devtools-frontend.appspot.com/static/18.0.1025.166/devtools.html?host=&page=1"
adbModel: "Nexus 4
↵"
adbPackage: "Chrome"
adbSerial: "01b6f5d40a61745f"
adbSocket: "chrome_devtools_remote"
attached: false
faviconUrl: "http://192.168.3.50/favicon.ico"
name: ""
pid: 0
processId: 0
routeId: 0
type: "adb_page"
url: "http://192.168.3.50/#fasttrack/1"

sam3k

sam3k commented on Jul 9, 2013

@sam3k

same here. Worked for a few minutes and then i got the blank popup.

ghost

ghost commented on Jul 11, 2013

@ghost

Same here. Not one successful debug session yet after a day filled with joy.

Also noticed that it loses connection with the device roughly every minute.

Version 29.0.1547.15 dev on MacOS 10.8.4, targeting Nexus 4 running 4.2.something (sorry, device went out window)

doochik

doochik commented on Jul 11, 2013

@doochik

+1
I see some errors in insepct for the remote debug console

Uncaught TypeError: Object #<Object> has no method 'setToolbarColors'
Uncaught TypeError: Object #<Object> has no method 'setDockSide'

OSX 10.8.4, chrome 28.0.1500.71 beta, try to debug nexus 7 4.2.2

hrussell

hrussell commented on Jul 16, 2013

@hrussell

I'm experiencing the same problem. Has anyone figured this one yet?

ginchly

ginchly commented on Jul 18, 2013

@ginchly

Same for me unfortunately - looking forward to trying this out though!
OSX 10.7.5, Version 30.0.1568.0 canary, adbplugin 0.9.6, nexus 4 running 4.2.2

lukeedmonds

lukeedmonds commented on Jul 22, 2013

@lukeedmonds

Same error too, hopefully someone will figure it out soon enough.

bullgare

bullgare commented on Jul 22, 2013

@bullgare

same error. Mac OS X 10.7.5.
I can provide extra data on demand.

dhharker

dhharker commented on Jul 24, 2013

@dhharker

I was experiencing this, linux mint 13, 29.0.1547.22 beta + adb 0.9.6.

FIXED: Installed latest version of Chrome (HTC One S) from Play and it has started working.

stuartmemo

stuartmemo commented on Jul 31, 2013

@stuartmemo

Same here on 30.0.1581.2 canary osx 10.8.4 trying to debug Chrome 18.0.1025469 on Nexus 7.

Seen a few reviews on the Chrome Web Store seeing this same bug.

ericente

ericente commented on Aug 6, 2013

@ericente

Had this problem on OSX 10.8.4 and Desktop Chrome Beta 29. Resolved by updating to the latest version of mobile Chrome on the Android device (Nexus 10)

paulirish

paulirish commented on Aug 8, 2013

@paulirish
Contributor

This error will manifest if your Chrome on Android is v18. You will need to
update it from Play to get it working.

On Tue, Aug 6, 2013 at 12:18 PM, Eric notifications@github.com wrote:

Had this problem on OSX 10.8.4 and Desktop Chrome Beta 29. Resolved by
updating to the latest version of mobile Chrome on the Android device
(Nexus 10)


Reply to this email directly or view it on GitHubhttps://github.com//issues/14#issuecomment-22203713
.

ginchly

ginchly commented on Aug 14, 2013

@ginchly

Ah of course - thanks Paul, this fixed it for me.

donaldr

donaldr commented on Aug 22, 2013

@donaldr

The instructions (https://developers.google.com/chrome-developer-tools/docs/remote-debugging) categorically state that Chrome on your phone has to be at least version 28. Check the version of your Chrome. If it's anything less then update via the play store.

paulirish

paulirish commented on Aug 22, 2013

@paulirish
Contributor

@donaldr we updated them recently to be a bit more clear as a result of this issue thread. :)
The docs got other updates that should make all this much easier, but we're still improving things and in a month or so I hope to share some of the improvements to remote debugging we've been working on.

89 remaining items

astanb

astanb commented on Oct 3, 2017

@astanb

This is happening to me when trying to debug a Cordova web view running on Android 5.0.1 (Chrome 42.0.2311.138) - Other Android versions 6+ are fine.

rickyk586

rickyk586 commented on Mar 10, 2018

@rickyk586

Updating chrome worked for me. Others have stated that there's an issue when the versions differ between mobile and desktop

tperrelli

tperrelli commented on Mar 13, 2018

@tperrelli

Hello guys! I've got this issue today.

I did the following steps to solve:

  1. Just open chrome://chrome-urls/
  2. Search for "for debug" section.
  3. Access chrome://restart/ url

chrome://restart/ might be different from restarting the pc or simple closing and reopening chrome like a normal user (i don't know why).
I believe that this command really force to restart all processes or something like that!?

Anyways, i use Mac OSX and now i'm abble to debug again. See ya!

reyx

reyx commented on Mar 13, 2018

@reyx

For me the solution was update chrome to the latest version 65.0.3325.162 (Windows)

datencia

datencia commented on Mar 14, 2018

@datencia

same over here... yesterday it was working ok, magically not today. Fixed upgrading chrome to 65.0.3325.162

DrMabuse23

DrMabuse23 commented on Mar 14, 2018

@DrMabuse23

thx @tperrelli save my day

NicolasBehra

NicolasBehra commented on Mar 14, 2018

@NicolasBehra

On ubuntu I just installed google-chrome in BETA:

sudo apt install google-chrome-beta

and the dev-tools work again like a charm
Hope it helps :)

iamjoyce

iamjoyce commented on Mar 19, 2018

@iamjoyce

@reyx Thank you. Goodness me, there was no prompt on Google Chrome to say that the version was outdated. I had to download the exe instead.

rasoulmiri

rasoulmiri commented on Mar 28, 2018

@rasoulmiri

Check this ways:

  1. update chrome in mobile and in windows or mac
  2. use VPN for connect to server google (China, Iran,...)
Black-Kitten

Black-Kitten commented on Feb 11, 2019

@Black-Kitten

我在检查器里面能够看见dom节点 但是里面都是空的 除了script标签
有大佬能够给我什么帮助吗。。
image

LycheeHe

LycheeHe commented on Apr 26, 2019

@LycheeHe

I know this issue posted long time ago, but I have to say
this answer(Remote debugging with Chrome downloads files from https://chrome-devtools-frontend.appspot.com.
Test your connection: Try to open https://chrome-devtools-frontend.appspot.com
If it doesn't work, thats why you're getting an empty window.
In this case maybe you need a VPN.)
let my confusion go, I try many times to reload my android app and click 'inpect' button from DevTools in chrome.

Thanks a lot

dccat1

dccat1 commented on May 29, 2020

@dccat1

Any solution now? I had tried all solutions i can find on google but got the same blank

robberfree

robberfree commented on Jun 1, 2020

@robberfree

@dccat1 No easy way.I tried different ways last week.The easiest way maybe setup a network that can access google service.

metinsevindik

metinsevindik commented on Nov 29, 2020

@metinsevindik

FYI, the last step needs to visit https://chrome-devtools-frontend.appspot.com. If you cannot open the link, that's why you got an empty window. In this case maybe you need a VPN. This is really a problem for people in China because the appspot.com domain is blocked by GFW. So sad.

致中国同胞:如果你按照要求操作最后却得到一个空窗口,翻墙后再试试。不用谢。

I was able to open this url. But still not working.
Is there any solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @doochik@paulirish@stuartmemo@elboletaire@sam3k

        Issue actions

          Inspect opens an empty window · Issue #14 · googlearchive/ADBPlugin