launch.json 995 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: Current File",
  9. "type": "python",
  10. "request": "launch",
  11. "program": "${file}",
  12. "console": "integratedTerminal"
  13. },
  14. {
  15. "name": "Python: FastAPI",
  16. "type": "python",
  17. "request": "launch",
  18. "module": "uvicorn",
  19. "args": [
  20. "app.main:app",
  21. "--host",
  22. "0.0.0.0",
  23. "--port",
  24. "9000",
  25. "--ssl-keyfile=/home/conrad/www.choozmo.com/privkey.pem",
  26. "--ssl-certfile=/home/conrad/www.choozmo.com/fullchain.pem",
  27. "--reload"
  28. ],
  29. "jinja": true
  30. }
  31. ]
  32. }