only enable debug mode on dev instance