I debug Chrome remotely by opening it with the --remote-debugging-port
switch, as described here.
I have another page running on a different port (on my localhost as well) and issuing an HTTP request to: http://localhost:9222/json
. This fails due to a cross-domain problem ("No Access-Control-Allow-Origin"), since the request is issued from a different port.
Can I somehow change the Chrome remote debugger's localhost server headers to support cross-domain? I just need to find a way to call that http://localhost:9222/json
from a different host...