Is there any way to view c#(mono) console output with Unity ?

I have a method that failed silently in Unity console but should have written in error output.
In a standard C# console project I can see the errors in windows console but I do not know how to do it with a Unity project.

Is there a way in Unity to show the c# console ?
Or at least write the generated errors somewhere ?

Edit : Here’s the code.
Running the same code with Mono throws a System.Net.WebException explaining that the SSL certificate received is not trusted but running it in Unity throws nothing and stall at

HttpWebResponse response = (result.AsyncState as HttpWebRequest).EndGetResponse(result) as HttpWebResponse;

// Use this for initialization
	void Start () {
        string BASE_URL = "api-endpoint-addr";
        string params = "some-params";

        GetRequest(BASE_URL + params);
    }

    void GetRequest(string uri)
    {
        System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
        //ServicePointManager.ServerCertificateValidationCallback += (p1, p2, p3, p4) => true;
        HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
        request.BeginGetResponse(ResponseCallback, request);

    }

    private void ResponseCallback(IAsyncResult result)
    {
        Debug.Log("Response CB");
        HttpWebResponse response = (result.AsyncState as HttpWebRequest).EndGetResponse(result) as HttpWebResponse;
        Debug.Log("1");
        Stream dataStream = response.GetResponseStream();
        Debug.Log("2");
        StreamReader reader = new StreamReader(dataStream);
        Debug.Log("3");
        string responseFromServer = reader.ReadToEnd();
        Debug.Log("4");

        Debug.Log("responseFromServer=" + responseFromServer);
    }

Sorry I was so dumb, surrounding the code by a try catch block indeed revealed an error