在 Fiddler 中可以很好地捕获定期客户端发起的对节点服务器的请求。但是,不会捕获从节点发送到 Web 服务的请求。将代理(127.0.0.1:8888)的配置传递给请求方法没有帮助。如何通过 Fiddler 路由请求消息?
var http = require('http');
var request = require('request');
request.get(webserviceURL, { "auth" : {"user": "user", "pass" = "pass", sendImmediately: true },
"proxy" : { "host" : "127.0.0.1", "port" : 8888 }},
function (error, response) { console.log( "response received" );
});