Index: headless/app/headless_shell_switches.cc |
diff --git a/headless/app/headless_shell_switches.cc b/headless/app/headless_shell_switches.cc |
index c3c6ad7b221d78ce3163a3bc8e15d6b3720a8376..7a6eac5b9bf3f67e21a29f6539f5f84b803c1fe0 100644 |
--- a/headless/app/headless_shell_switches.cc |
+++ b/headless/app/headless_shell_switches.cc |
@@ -11,5 +11,11 @@ namespace switches { |
// affects HTTP and HTTPS requests. |
const char kProxyServer[] = "proxy-server"; |
+// Use the given address instead of the default loopback for accepting remote |
+// debugging connections. Should be used together with --remote-debugging-port. |
+// Note that the remote debugging protocol does not perform any authentication, |
+// so exposing it too widely can be a security risk. |
+const char kRemoteDebuggingAddress[] = "remote-debugging-address"; |
+ |
} // namespace switches |
} // namespace headless |