HTTP 500 Internal Server Error — how do I debug it from the browser?

A 500 means the server hit an unexpected problem while handling the request. The browser can show the status and response, while the application or infrastructure logs can show the exception. Capture the request that failed before refreshing or changing the frontend.
Match the timestamp and safe correlation ID with the server logs. Look for the operation that failed, such as a database call, dependency error or configuration lookup. Reproduce the request with the same method and relevant input if you need to narrow it down.
Use the exact request that triggered the backend error when confirming a fix. After fixing the backend, run the original browser flow again. A successful test request is most useful when it exercised the same route and inputs that triggered the error.
curl -i https://api.example.com/orders?test=1
Record the request URL, timestamp and safe correlation ID, then locate the matching server trace.