debugs clip.php in different stages