Debug API almost finished...