I have a python gunivorn
application to serve as restful service. I am using gunicorn app:app development --reload
to load the server. How can I enable debug model in this application? I am using vscode
as IDE. And I am not sure how to debug it from this IDE.
You can create a .sh file and run this.
Then with
gunicorn -b :8080 --log-level=DEBUG -w 4 file:app
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.