Today I was forced to inspect crashing chrome browser. To inspect that i needed to use desktop chrome.
To do that there is pretty good tutorial: https://raygun.com/blog/debug-android-chrome/
But after completing all steps. Nothing appeared in "remote devices" on desktop.
After few hours i have found solution.
To do that there is pretty good tutorial: https://raygun.com/blog/debug-android-chrome/
But after completing all steps. Nothing appeared in "remote devices" on desktop.
After few hours i have found solution.
To fix that:
- Download SDK Platform-Tools for Windows zip file. Extract..
- Launch cmd.exe ( command prompt ).
- From extracted folder launch "C:\path_to_file\adb.exe devices" . You might get as i got - "List of devices attached: 9be86c14 unauthorized"
- Now unplug your phone and plug it back.
- Check your phone that it allows PTP connection of USB debugging ( check raygun.com link ).
- Repeat #3 step - launch "adb.exe devices" command again. You might get same message in cmd.exe window. BUT now check your phone. There should be confirmation popup window for mac address. Accept that.
- Now just repeat same #3 step. As it shown from my screenshot i got success message "9a479b83 device".
- Done. Now you should be able to detect the device under "remote devices" in google chrome.
To inspect url on device:
- On device open chrome and open desired url
- On desktop open remote devices
- Click device
- Near appeared list of "opened" tabs with shown urls find your "last one" and on right side click "inspect" button.
- Done.
Happy debugging.
Let me know if it helped you. Or write where you stuck and how you solved it, so other people could save time. Thanks.
No comments:
Post a Comment