How to debug a manage.py command?

Hi All! Im writing a custom manage.py command and I want to run it through the PyCharm debugger. Is there any way to do that?

If not are there any other alternatives?

Thanks!

d

2 comments
Comment actions Permalink

Hello Daniel,

You should be able to create a run configuration of type "Python Script",

specifying manage.py as your script to execute and your custom command in

the script arguments. Then run this configuration under the debugger.

Hi All! Im writing a custom manage.py command and I want to run it

through the PyCharm debugger. Is there any way to do that?

If not are there any other alternatives?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink
Opened feature request: https://youtrack.jetbrains.com/issue/PY-15349

Hoping for a better solution. :)
0

Please sign in to leave a comment.