launch.json 963 B

1234567891011121314151617181920212223242526272829303132
  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. "app.main:app",
  14. "--host",
  15. "0.0.0.0",
  16. "--port",
  17. "8750",
  18. "--ssl-keyfile=/home/conrad/privkey.pem",
  19. "--ssl-certfile=/home/conrad/fullchain.pem",
  20. "--reload"
  21. ],
  22. "jinja": true
  23. },
  24. {
  25. "name": "Python: Current File",
  26. "type": "python",
  27. "request": "launch",
  28. "program": "${file}",
  29. "console": "integratedTerminal"
  30. }
  31. ]
  32. }