Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome Devtools closes while debugging website on Android device

chrome://inspect/#devices opens a devtools window, but about the time it finishes drawing itself, it closes. No error messages

I'm trying to debug a website, not a native app. Any ideas why it would open and tease me, then close when the mouse gets near the window?

  • Linux: Version 40.0.2214.111 (64-bit) OS:14.04 Ubuntu
  • Android: Version 40.0.2214.109 OS: 4.1.2

More interesting details. It works on other tabs, and if I use one of those tabs that is working, and paste in my URL, it closes the devtools

like image 968
boatcoder Avatar asked Nov 01 '25 14:11

boatcoder


1 Answers

As stated in the docs, your desktop Chrome must be newer than your Android Chrome:

Note: Remote debugging requires your version of desktop Chrome to be newer than the version of Chrome for Android on your device. For best results, use Chrome Canary (Mac/Windows) or the Chrome Dev channel release (Linux) on desktop.

For instance, you might install Chrome Canary/unstable or Chrome Beta on your computer. By using it instead, my inspector started working as expected. Currently, my Chrome Beta is v50 and the Android Chrome, v49.

like image 199
igorsantos07 Avatar answered Nov 04 '25 02:11

igorsantos07



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!