Google Chrome for Android Remote Debugging - “localhost:9222” Not Available

前端 未结 9 1044
难免孤独
难免孤独 2021-01-30 05:16

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

9条回答
  •  悲哀的现实
    2021-01-30 06:16

    I found that I had to have USB debugging enabled on Chrome and on my device.

    1. Chrome for Mobile - Settings > Developer Tools > [x] Enable USB Web debugging
    2. Device - Settings > Developer options > [x] USB debugging
    3. Connect Device to Computer
    4. Enable port forwarding on Computer

      C:\adb forward tcp:9222 localabstract:chrome_devtools_remote

    5. Go to http://localhost:9222 in Chrome for Computer

提交回复
热议问题