I finally installed OSQA on my Windows dev box, and I'd like to try to make some changes. I'm using PyCharm to run it, and it works great.

However, it seems that django is spawning a new process when I do "manage.py runserver" (see autoreload.restart_with_reloader()). I am attached with PyCharm to the original process, but my breakpoints aren't hit in the new process, obviously.

How do you debug OSQA then?

(See also this question I posted to Stack Overflow)

asked 20 Mar '11, 05:21

ripper234's gravatar image

ripper234 ♦
3.2k60116123
accept rate: 19%

edited 20 Mar '11, 05:24


See the answer on StackOverflow. Basically, my problem was I didn't use PyCharm's Django integration at all, but rather ran it as a python script.

link

answered 20 Mar '11, 10:28

ripper234's gravatar image

ripper234 ♦
3.2k60116123
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45
×10

Asked: 20 Mar '11, 05:21

Seen: 1,231 times

Last updated: 20 Mar '11, 10:28

powered by OSQA