Does PyCharm support debugging django running on apache/modwsgi

It seems I can only select the django development server for debugging, is that correct? How can I debug with apache running my site?

3 comments

Hello robin,

You can use remote debugging for this purpose. Create a configuration of

type "Python Remote Debug" in Run | Edit Configurations... and follow the

provided instructions.

It seems I can only select the django development server for

debugging, is that correct? How can I debug with apache running my

site?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Ok, I use port 8081 on apache, but pycharm states that that port is being used. Do you have anymore instructions, I am unsure how setting the python path helps me and I don't understand what script I am supposed to add the import statement to (from pydev import pydevd). Thanks.

0

Hi Robinne,

try to use instructions from here http://blog.jetbrains.com/pycharm/2010/12/python-remote-debug-with-pycharm/

If you have any problems feel free to ask here.

0

Please sign in to leave a comment.