launch.json 793 B

12345678910111213141516171819202122232425
  1. {
  2. // Use IntelliSense to learn about possible attributes.
  3. // Hover to view descriptions of existing attributes.
  4. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  5. "version": "0.2.0",
  6. "configurations": [
  7. {
  8. "name": "Python: FastAPI",
  9. "type": "python",
  10. "request": "launch",
  11. "module": "uvicorn",
  12. "args": [
  13. "main:app",
  14. "--host",
  15. "0.0.0.0",
  16. "--port",
  17. "8887",
  18. "--reload",
  19. "--ssl-keyfile=/etc/letsencrypt/live/api.ptt.cx/privkey.pem",
  20. "--ssl-certfile=/etc/letsencrypt/live/api.ptt.cx/fullchain.pem"
  21. ],
  22. "jinja": true
  23. }
  24. ]
  25. }