Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

69 righe
2.0 KiB

  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 (Integrated Terminal)",
  9. "type": "python",
  10. "request": "launch",
  11. "program": "${file}",
  12. "console": "integratedTerminal"
  13. },
  14. {
  15. "name": "Python: Remote Attach",
  16. "type": "python",
  17. "request": "attach",
  18. "port": 5678,
  19. "host": "localhost",
  20. "pathMappings": [
  21. {
  22. "localRoot": "${workspaceFolder}",
  23. "remoteRoot": "."
  24. }
  25. ]
  26. },
  27. {
  28. "name": "Python: Module",
  29. "type": "python",
  30. "request": "launch",
  31. "module": "enter-your-module-name-here",
  32. "console": "integratedTerminal"
  33. },
  34. {
  35. "name": "Python: Django",
  36. "type": "python",
  37. "request": "launch",
  38. "program": "${workspaceFolder}/manage.py",
  39. "console": "integratedTerminal",
  40. "args": [
  41. "runserver",
  42. "--noreload",
  43. "--nothreading"
  44. ],
  45. "django": true
  46. },
  47. {
  48. "name": "Python: Flask",
  49. "type": "python",
  50. "request": "launch",
  51. "module": "flask",
  52. "env": {
  53. "FLASK_APP": "app.py"
  54. },
  55. "args": [
  56. "run",
  57. "--no-debugger",
  58. "--no-reload"
  59. ],
  60. "jinja": true
  61. },
  62. {
  63. "name": "Python: Current File (External Terminal)",
  64. "type": "python",
  65. "request": "launch",
  66. "program": "${file}",
  67. "console": "externalTerminal"
  68. }
  69. ]
  70. }