debug the session