vs debug window only show code 500 instead of details when i got exception .how can i config to show exception details in vs debug window?
checkout your logs.txt file under Logs folder or set UserFriendlyException for your business methods and pass exception details
You can also configure Serilog to write to other destinations (like output/console).