add debug mode on production