How could I debug sentry on IDE(pycharm)?

I have installed sentry in my machine and have started it successfully. And then ,for knowing more about sentry, I want to debug sentry on IDE(pycharm) . Unfortunately , I fail to start up sentry on IDE(pycharm), could you tell me what I should do ? thanks.