launch.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Docker: Python - Flask",
  6. "type": "docker",
  7. "request": "launch",
  8. "preLaunchTask": "docker-run: debug",
  9. "python": {
  10. "pathMappings": [
  11. {
  12. "localRoot": "${workspaceFolder}",
  13. "remoteRoot": "/app"
  14. }
  15. ],
  16. "projectType": "flask"
  17. }
  18. },
  19. {
  20. "name": "Debug FastAPI Project backend: Python Debugger",
  21. "type": "debugpy",
  22. "request": "launch",
  23. "module": "uvicorn",
  24. "args": [
  25. "app.main:app",
  26. "--reload"
  27. ],
  28. "cwd": "${workspaceFolder}/backend",
  29. "jinja": true,
  30. "envFile": "${workspaceFolder}/.env",
  31. },
  32. {
  33. "type": "chrome",
  34. "request": "launch",
  35. "name": "Debug Frontend: Launch Chrome against http://localhost:5173",
  36. "url": "http://localhost:5173",
  37. "webRoot": "${workspaceFolder}/frontend"
  38. },
  39. ]
  40. }