New api example. Debug