I am using the ASP.NET Boilerplate framework. I have added my code to web API. I am getting an error "An internal error occurred during your request!", So, I want to debug the API. Can anyone tell me how can I do that? when I call the web API, breakpoint should come in the Service project.
-
Please provide a minimal, complete, verifiable example stackoverflow.com/help/mcveJoe– Joe2018-03-08 13:07:53 +00:00Commented Mar 8, 2018 at 13:07
-
Possible duplicate of How to get more detailed exception in ABP?aaron– aaron2018-03-08 13:18:48 +00:00Commented Mar 8, 2018 at 13:18
Add a comment
|
1 Answer
Please follow the points below for the solution to your problem.
- You can open the browser console and in the network tab you can see that which API is getting failed and you can also see the HTTP response code.
- For debugging you can use the solution mentioned here.
- You can also see the full exception details in Logs.txt file on the Web.Host\App_Data\Logs path. For logging, you can refer this document.