Once Port forwarding is enabled, close and open dev tools. Now click on the cog in the corner, then go to Experiments > Enable Port Forwarding (If you don't see port forwarding, you might not be in Chrome Beta) This will open up devtools for your Chrome on Android. When it has, in Canary go to chrome://inspect there you will see your device, so now click inspect. Once it's relaunched open a terminal and run adb devices, you should now see your device appear in the list. In the address bar type: chrome://flags and enable - "Enable Developer Tools experiments" and hit the Relaunch button that appears. On your Desktop open Chrome Canary (I think stable and Beta currently have issues): Hit the home key on the device and go to Settings > Developer Options > Enable USB DebuggingĬonnect your phone to your Computer via USB Menu > Settings > Developer Tools > Enable USB Debugging
In Chrome Beta on your Android device do the following: To start with you'll need the Android SDK to get started: BUT select for existing IDE so you get the tools rather than all of Android Studio. If you get " device not found", then run adb kill-server and then try again. If you get command not found when trying to run ADB, make sure Platform-Tools is in your path or just use the whole path to your SDK and run it C:path- to-SDK platform-toolsadb forward tcp: 9222 localabstract:chrome_devtools_remote Device - Settings > Developer options > USB debuggingĮnable port forwarding on your computer by doing the following command belowĬ:adb forward tcp:9222 localabstract:chrome_devtools_remote.Chrome for Mobile - Settings > Developer Tools > Enable USB Web debugging.Not only do you have to enable USB debugging on the device itself under developer options but you have to go to the Chrome Browser on your phone and enable it in the settings there too. I have found that a common mistake is not enabling USB Debugging in Chrome mobile. So on Newer versions of Android and Chrome for Android. STEP 5: On your computer, Open Chrome browser.Please note the instructions have changed since this question was asked 2 yrs ago.
Click on Open, and now you see the disabled button, click on Enable.Īlso know, how do you inspect a website on mobile? To do so, launch the Play store, scroll the apps on your home and locate Android System Webview. Connect your Android device to your PC via USB.Īlso Know, how do I enable Webview in Chrome? After these versions, developments were made, and Chrome was enhanced to be used to open web pages in apps as well.Enable Chrome developer tools to “Discover USB devices” in the “Remote devices” tab on your PC.Install ADB server and run it on your PC.
How to Debug Android Chrome From Your Windows PC In respect to this, how do I debug Chrome mobile to desktop? In the top-right corner of the developer tools, click the menu icon that looks like three dots, navigate to “More tools” and then click “ Remote devices”. To do this, open up Chrome on your computer, and then open the Chrome developer tools by pressing Ctrl+Shift+I, or F12.