Debug mode just in localhost