launch.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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": "General training paradigm",
  9. "type": "python",
  10. "request": "launch",
  11. "program": "general_grasp_training.py",
  12. "console": "integratedTerminal",
  13. "cwd": "${workspaceFolder}/backend",
  14. "justMyCode": true,
  15. "args": ["--subj", "XW01",
  16. "--n-trials", "15",
  17. "--com", "COM3",
  18. "-fm", "flex",
  19. "-vfr", "1.0",
  20. "-scth", "0.75",
  21. "--model-path", "./static/models/XW01/baseline_rest+cylinder_11-16-2023-16-38-32.pkl"]
  22. },
  23. {
  24. "name": "Python: 当前文件",
  25. "type": "python",
  26. "request": "launch",
  27. "program": "${file}",
  28. "console": "integratedTerminal",
  29. "cwd": "${workspaceFolder}/backend",
  30. "justMyCode": true
  31. },
  32. {
  33. "name": "Python: Debug Tests",
  34. "type": "python",
  35. "request": "launch",
  36. "program": "${file}",
  37. "purpose": [
  38. "debug-test"
  39. ],
  40. "console": "integratedTerminal",
  41. "cwd": "${workspaceFolder}/backend",
  42. "env": {
  43. "PYTHONPATH": "${workspaceFolder}/backend"
  44. },
  45. "justMyCode": false,
  46. }
  47. ]
  48. }