title: ASP.NET Core API Controllers - How to debug properly
body: <p>Over the past couple weeks I've been working with an ASP.NET Core Backend(Remote Ubuntu Machine, SSH only, Kestrel).</p>
  
  <p>When sending an HTTP-Request to the Server oftentimes it won't be handled the way I expected it to.</p>
  
  <p>Examples: </p>
  
  <ul>
  <li><p>For POSTs: An action parameter will be <code>null</code> or <code>0</code> or an empty <code>string</code></p></li>
  <li><p>the action method isn't executed at all</p></li>
  </ul>
  
  <p>Is there a way to see the headers, body, etc. of the request that arrived at the Server?</p>
  
  <p>How is the body data processed before the corresponding action method is called?</p>
  
  <hr>
  
  <p>I've been reading the Console Output and setting breakpoints to figure out whats going on.</p>
  
  <p>Which is fine if there's an Exception thrown or theres something going wrong inside the action method.</p>
  
  <p>But it doesn't help me understand what's happening before the action method is executed.</p>