IS it possible to debug Django with Apache and mod_wsgi

118 views
Skip to first unread message

Ognjen B.

unread,
Feb 12, 2021, 10:37:13 AM2/12/21
to Django users
Hi everyone,
I was wondering can anyone point me to a document describing how to setup debugging using any IDE (VS Code, PyCharm, etc) or at least from console when using Django with Apache and mod_wsgi? Or if it's not possible please let me know so I don't waste any more time.

Thanks

Rob Wilkinson

unread,
Feb 12, 2021, 11:19:20 AM2/12/21
to django...@googlegroups.com
Sorry meant DEBUG=True   :)

On Fri, Feb 12, 2021 at 10:39 AM Rob Wilkinson <wilkycon...@gmail.com> wrote:

DEBUG=Yes in settings.py shows what you need even in Apache 

Don’t run like that in prod!


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4ccfa917-06b4-4182-a76d-7b1a4c41eff5n%40googlegroups.com.

Rob Wilkinson

unread,
Feb 12, 2021, 11:19:21 AM2/12/21
to django...@googlegroups.com

DEBUG=Yes in settings.py shows what you need even in Apache 

Don’t run like that in prod!

On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. <ognjen...@gmail.com> wrote:
--

Ognjen Bjelica

unread,
Feb 12, 2021, 12:54:42 PM2/12/21
to django...@googlegroups.com
Hi Rob,
Thanks for the quick reply, but I was looking for a way to run code line by line. Because DEBUG=True is useful only in some situations. 


You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/XXq-_CJwSh4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAdSEeZLJLMSUBHAgNaBG4CZYF%2B%3D1tcqTPDYAr06-jJvBRSOmA%40mail.gmail.com.

yashwanth .k

unread,
Feb 13, 2021, 4:38:26 AM2/13/21
to django...@googlegroups.com
Hello Ognjen Bjelica,
I think we can check for line by line using manage.py -> shell. Where we have to individually import and check for consistency.

Reply all
Reply to author
Forward
0 new messages