launch.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "version": "0.2.0",
  3. "configurations": [
  4. {
  5. "name": "Python: Current File (Integrated Terminal)",
  6. "type": "python",
  7. "request": "launch",
  8. "program": "${file}",
  9. "console": "integratedTerminal"
  10. },
  11. {
  12. "name": "Python: Attach",
  13. "type": "python",
  14. "request": "attach",
  15. "port": 5678,
  16. "host": "localhost"
  17. },
  18. {
  19. "name": "Python: Module",
  20. "type": "python",
  21. "request": "launch",
  22. "module": "acme",
  23. "console": "integratedTerminal"
  24. },
  25. {
  26. "name": "Python: Flask",
  27. "type": "python",
  28. "request": "launch",
  29. "module": "flask",
  30. "env": {
  31. "FLASK_APP": "acme.api",
  32. },
  33. "args": [
  34. "run",
  35. "--no-debugger",
  36. "--no-reload"
  37. ],
  38. "jinja": true
  39. }
  40. ]
  41. }