diff --git a/packages/mitmproxy/src/options.js b/packages/mitmproxy/src/options.js index 023b2cf..3941b7e 100644 --- a/packages/mitmproxy/src/options.js +++ b/packages/mitmproxy/src/options.js @@ -116,6 +116,8 @@ module.exports = (serverConfig) => { const interceptOpt = interceptOpts[regexp] // interceptOpt.key = regexp + log.debug(`拦截器匹配path成功:${rOptions.protocol}//${rOptions.hostname}:${rOptions.port}${rOptions.path}, regexp: ${regexp}, interceptOpt:`, interceptOpt) + // log.info(`interceptor matched, regexp: '${regexp}' =>`, JSON.stringify(interceptOpt), ', url:', url) for (const impl of interceptorImpls) { // 根据拦截配置挑选合适的拦截器来处理