ariya/phantomjs — pull request #12810 by benjolitz (2014-12-09 01:02:02+00:00)
Title: Disable proxies for QWebInspector instances. Allows remote debugger acce...

Solves issue #10982

The issue is alleviated if the QTcpServer (which is marked private) is instructed to ignore any proxies (in Phantom's case, the Application level proxy).

This change applies to older releases as well.

Other projects handle this case by using a QNetworkProxyFactory and bypassing the proxy on local subnets.

Since that is much harder and 1.9x series is nearing EOL, this should simply "make it work" for 1.x users.

FWIW, I use PhantomJS at work and we'd like proxy support + remote debugging support if we can help it.