endpoint api debugging