Link to home
Start Free TrialLog in
Avatar of Fin Vangelis
Fin Vangelis

asked on

Debug Live Django App in Pycharm

I have a live working Django web application on my desktop.
I created a project for it in Pycharm.
What kind of setup do I need to be able to debug  using the current production webserver, settings, etc.
Avatar of Cyclops3590
Cyclops3590
Flag of United States of America image

if you have a project in pycharm, all the settings should be the same than as if you're running on prod.  slightly different of course as its using the manage runserver to run the web server, but I assume you're running apache/nginx as your front and uwsgi or mod_wsgi as your interface to the django app.

with that said, pycharm has debugging built into it. you just run the django app with debug and add your break points as desired.

but i could be missing additional details as to what exactly you're trying to debug.
Avatar of Fin Vangelis
Fin Vangelis

ASKER

How do I setup pycharm's built in web server to start debugging the whole app from click of mouse on web app? i want it to run from that JS  event all the way through my python code.
ASKER CERTIFIED SOLUTION
Avatar of Cyclops3590
Cyclops3590
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks