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

前端 未结 9 1321
难免孤独
难免孤独 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:09

    I had two really dumb problems preventing me from doing this correctly, maybe my experience will help.

    1: The "adb forward..." from the most voted-up comment on the YouTube channel explaining how to do it contains a few weird characters (https://www.youtube.com/watch?feature=player_embedded&v=s4zpL4VBbuU). If, like me, you pasted it in cmd without double-checking, the server will start without an error, but the service won't work properly. Make sure you're using this line with your path to adb

    adb forward tcp:9222 localabstract:chrome_devtools_remote
    

    2: ESET NOD32 Antivirus has this thing called HIPS (Host-Based Intrusion Prevention System), and it doesn't like you messing around with localhost:####

    http://kb.eset.com/esetkb/index?page=content&id=SOLN2950

    Maybe your Antivirus software has something similar that can be deactivated?

    Hope this helps someone ^_^

提交回复
热议问题