in src/Azure.AppService.Tunnel/Agent/DebuggerAgentProcess.cs [79:90]
private static async Task<string?> ExtractKeyWord(StreamReader reader, string keyword)
{
var keywordWithColon = keyword + ":";
while (!reader.EndOfStream)
{
var line = await reader.ReadLineAsync();
if (line.StartsWith(keywordWithColon)) return line.Substring(keywordWithColon.Length).Trim();
}
return null;
}