how to debug the PHP proxy