How do I debug properly using Eclipse and Pydev?

后端 未结 4 1534
攒了一身酷
攒了一身酷 2021-02-13 15:23

I have got Pydev configured properly so it runs my app, however when I want to inspect/trace my code by setting up breakpoints the debugger does not kick in (can\'t trace). Does

4条回答
  •  长情又很酷
    2021-02-13 15:56

    Ok I think I found what my problem was. I had to set the breakpoint on the def statement in views.py instead of the statements after it.

提交回复
热议问题