Is it possible to "debug" my application inside the server?

1

I have an ASP.NET application in C #, and I do some debugs (obvious) in Visual Studio, however I always have problem with directories, because the Godaddy directory for example is different from the localhost directory, and I need do some testing, how to know what certain variable is returning me when I put the application in the air, type:

Debug.WriteLine(Request.Url.AbsoluteUri) returns me link in the Visual Studio Output when I'm in the IDE (localhost), however if I use my site I have no more this control, could even insert in an example view:

@Html.Raw(Request.Url.AbsoluteUri) and "debug" but I believe it is not the right thing to do, the question is: Is there a way to do this debug FROM THE SERVER?

    
asked by anonymous 31.07.2017 / 18:15

0 answers