After upgrading to PI Web API 2017 R2, any error messages returned by API requests no longer have useful error messages. Instead they simply read:
"An exception has occurred. Please contact your PI Web API administrator for help in enabling debug mode."
How do I enable this debug mode so that I can get back to seeing meaningful error messages (as in previous version of Web API)?