debugging php modules