How do I debug properly using Eclipse and Pydev?

后端 未结 4 1514
攒了一身酷
攒了一身酷 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:55

    If you're debugging the Django runserver, make certain you specify the --noreload command line parameter. Otherwise the debugger ends up looking at the wrong python instance and never trips any breakpoints.

提交回复
热议问题