Debug class for php project