feat: 增加调试选项

This commit is contained in:
Chenx Dust
2026-08-25 02:18:33 +08:00
parent d31ae55035
commit 4ef59f5d7f
12 changed files with 255 additions and 31 deletions

View File

@@ -217,10 +217,12 @@ CoreCommand CoreCommandBuilder::build(const ConnectionProfile &profile, const Co
arguments << "-add-route";
}
}
if (profile.behavior.debugDump)
if (profile.debug.detailedOutput)
{
arguments << "-debug-dump";
}
appendOption(arguments, "-debug-pcap-file", runtimePaths.debugPcapFile);
appendOption(arguments, "-debug-tls-log-file", runtimePaths.debugTlsLogFile);
appendOption(arguments, "-socks-bind", profile.proxy.socksBind);
appendOption(arguments, "-http-bind", profile.proxy.httpBind);