Added PDebug class for session cookie creation.