Just for addtional information I'll share what helped me:
In such setup I could see detailed errors when developing on my local machine, but they would not be shown to users when remote server is accessed from outside.
You could find more information regarding errorMode here.