
"
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
request.ContentType = "application/x-www-form-urlencoded";
request.Headers.Add("Authorization: " + "Bearer" + " " + KEY);
request.ContentLength = data.Length;
Stream stream = request.GetRequestStream(); // error, here my debugger stops and plugin registration tools stops abruptly
{
stream.Write(data, 0, data.Length);
}
var response = (HttpWebResponse)request.GetResponse();
var responseString = new StreamReader(response.GetResponseStream()).ReadToEnd();
}
"
*This post is locked for comments
I have the same question (0)I also experienced this. You can add trace logs using ITracingService & check the logs for debugging purpose instead of profiling/debugging.