An api debugging tools based on PHP