DEV-Life Hacks

DEV-Life Hacks: Debug Django Project With Pycharm Community.

Seems like there is no option for debugging a Django project with Pycharm community version but there is a surprise for you.

 

Start A New Project

I have started a new Django project called 'example', then I created an app and called it 'TestApp'.

Screen Shot 2019-06-19 at 3.01.33

Access Run/Debug Configurations

Screen Shot 2019-06-19 at 3.03.39

Add New Configuration

Screen Shot 2019-06-19 at 3.05.19

Choose python

Screen Shot 2019-06-19 at 3.07.16

Insert 'manage.py' Path And Script Parameter

Screen Shot 2019-06-19 at 3.12.13

Add a breakpoint and start your debugging session.

confeti

2 thoughts on “DEV-Life Hacks: Debug Django Project With Pycharm Community.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top