I\'m following the steps to enable remote debugging (https://developers.google.com/chrome/mobile/docs/debugging). When I reach step 4, Chrome for Desktop returns with \"This web
I found that I had to have USB debugging enabled on Chrome and on my device.
Enable port forwarding on Computer
C:\adb forward tcp:9222 localabstract:chrome_devtools_remote
Go to http://localhost:9222
in Chrome for Computer
Can you please provide the version of Chrome on Android you are using? Open "about:version" URL and please provide values of "Google Chrome" an "Application" fields.
And can you please check the following -- after you turn on USB Web debugging (step 2 of the doc), what this sequence of commands outputs to you:
adb root
adb shell cat /proc/net/unix | grep chrome_devtools_remote
(The idea is to check, if the remote debugging socket opens on the device after you turn on USB Web debugging)
I found a solution to this problem. I've been looking for one last day same command in the tutorial
https://developer.chrome.com/devtools/docs/contributing-legacy
"C:\Users\%username%\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --remote-debugging-port=9222 --no-first-run --user-data-dir=C:\Users\%username%\chrome-dev-profile http://localhost:11002#http://localhost:8000/front_end/inspector.html
Then I can use localhost: 9222 on the browser.
Right now I would like to comment on the answer to help someone.