PHP method for debug