datafolklabs / cement

Application Framework for Python
http://builtoncement.com
BSD 3-Clause "New" or "Revised" License
1.23k stars 118 forks source link

How to debug a cement app in pycharm? #589

Open kensign opened 3 years ago

kensign commented 3 years ago

It would be extremely helpful if someone could please document how to use the debugger in pycharm while developing cement apps. Has anyone hooked this up already?

bhelm commented 3 years ago

basicly this: https://stackoverflow.com/a/55382864/1863432

select "module name", then press the 3 dots next to the input field and type "main" there, then select your module. debugging works for me like this.

derks commented 3 years ago

@kensign did this work for you?

kensign commented 3 years ago

I had a different approach and finished the project. I can fire it back up and let you all know soon if this works best. thanks for pinging me, it slipped my mind.

On Wed, Feb 3, 2021 at 2:24 PM BJ Dierkes notifications@github.com wrote:

@kensign https://github.com/kensign did this work for you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/datafolklabs/cement/issues/589#issuecomment-772135925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADVLJUXIIIJWOAQ44UFYB3S5CQUNANCNFSM4STDABGA .