How to debug python application under uWSGI?

后端 未结 3 2105
遥遥无期
遥遥无期 2020-12-24 00:50

When I\'m trying to use python pdb debugger under uWSGI, the execution doesn\'t stop on breakpoint, it just return trackback.

here is the code:

def a         


        
3条回答
  •  失恋的感觉
    2020-12-24 01:33

    try this

    uwsgi --http 127.0.0.1:7777  --wsgi-file uwsgi_test.py --logto /path/to/log/log.txt
    

提交回复
热议问题