Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

69 Zeilen
2.0 KiB

vor 5 Jahren
  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. }