Hi, the author of the above lines here.
First, I am pretty sure that --remote-debugging-raw-usb flag does not do anything. This is for two reasons:
1. This flag has been removed from Chromium code last October (
https://src.chromium.org/viewvc/chrome?revision=227275&view=revision).
2. Even when it existed it controlled the behavior of desktop-side Chrome, not the one running on Android.
Now about the reason you are getting the message. This is not about user privileges or web security.
When you use desktop Chrome to debug a page on Android Chrome the desktop Chrome must know where to get the debugger frontend code (a bunch of html/javascript/css that makes up the DevTools window UI).
This only seems trivial:
1. We cannot use the version of the frontend code bundled with the desktop Chrome because it can be different from the one on the Android side (and DevTools would break in unexpected ways)
2. We cannot download the frontend code from the Android Chrome because there is no DevTools frontend code bundled with Android Chrome (this decision is made in order to avoid inflating the apk file size).
3. What we are doing instead is having the Android Chrome tell us what version it is an download the appropriate version of DevTools frontend from a special server on the Web (
http://chrome-devtools-frontend.appspot.com/). And it works quite nicely.
The fact that you are getting this message is telling me that you are probably doing something creative with the debugging infrastructure. Are you customizing DevToolsHttpHandler/DevToolsHttpHandlerDelegate somehow?
Best regards,
Vlad