Cannot setup Run/Debug Configuration -> Module

Hi there,

Sorry if this is a known issue, of if this is the wrong place to ask for it (I'm new around here)...

I'm evaluating PyCharm, and it looks terrific... I've loaded a Django app I'm working on to browse around. The only thing I couldn't test is debugging: I have to setup this Run/Debug Configuration, and there is a combo box named "Module" I'm supposed to set. But it's empty, I can't choose anything, and hence PyCharm accuses the config to be wrong. I'm on Mac OS X 10.5 (Leopard), and everything else looks normal.

Am I missing something?

THT,

Rubens

4 comments

Rubens,

Is your Django project laid out in a "standard" format?  (As in created with the django management commands?)  Or even using PyCharm itself to create a new project.  I think this is the only way (currently) that you're going to be able to do the debugging the way you expect to.  As far as I can tell, outside of having a standard app structure, you can't do a lot of the cool Django stuff in PyCharm just yet.  Though if you get real creative, I imagine you can use the standard Python debugging, you just may have to set up a lot of the project structure, environment variables, etc. manually.

Keep an eye on the issue tracker for PyCharm.  The JetBrains team seems to be real busy improving the Django support in PyCharm. 

This is a problem I hope to resolve over the next few days myself, so if you come up with anything, please post what you did here, and I'll do the same.

Joe

0

Hello Rubens,

Sorry if this is a known issue, of if this is the wrong place to ask

for it (I'm new around here)...

I'm evaluating PyCharm, and it looks terrific... I've loaded a Django

app I'm working on to browse around. The only thing I couldn't test is

debugging: I have to setup this Run/Debug Configuration, and there is

a combo box named "Module" I'm supposed to set. But it's empty, I

can't choose anything, and hence PyCharm accuses the config to be

wrong. I'm on Mac OS X 10.5 (Leopard), and everything else looks

normal.

Am I missing something?

Is the Django support enabled for your project in Settings | Django Support?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Just to put a closure on this item - this is a post I submitted a year ago, when still evaluating the Beta (maybe Alpha?) version of PyCharm. I now have an official license, and I've been quite happy with it!


Thanks,

Rubens

0

Old issue, before official release...

0

Please sign in to leave a comment.