I'm using WebStorm 8 with Spy-js integration
(more http://blog.jetbrains.com/webstorm/2014/04/spy-js-webstorm-secret-service/)
When I run SpyJS from IDE Run configuration, I cannot get it to capture requests
When I access URL via Local Proxy mode, http://localhost:3546/?spy-js=localhost:9000
it works, but with its limitations... (more https://github.com/spy-js/spy-js#local-proxy)
System proxy seems to be configured correctly:
Content of http://localhost:3546/spy-js-proxy.pac
is
function FindProxyForURL(url, host) { return "PROXY localhost:3546; DIRECT"; }
Trace proxy log from WebStorm
/usr/local/bin/node /opt/homebrew-cask/Caskroom/webstorm/8.0.0/WebStorm.app/plugins/spy-js/server/spy.js --port=3546
session store created: /var/folders/gm/r9vjzd1926v4sxdv54c9tl240000gn/T/spy-js-session114324-29723-1xl36wv
Starting 8 workers..
info: socket.io started
spy-js has started, proxy is available at http://localhost:3546
session (qzj9e): new session created: qzj9e
session (qzj9e): dynamic config created: /var/folders/gm/r9vjzd1926v4sxdv54c9tl240000gn/T/114324-29723-1yo5izj.js
session (qzj9e): new session started: qzj9e
Worker 29770 ready.
Worker 29768 ready.
Worker 29769 ready.
Worker 29771 ready.
Worker 29773 ready.
Worker 29772 ready.
Worker 29774 ready.
Worker 29775 ready.
proxy connection issue: socket hang up