launch.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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", "0.5",
  20. "-scth", "0.75",
  21. "--model-path", "./static/models/XW01/baseline_rest+flex_11-21-2023-09-59-49.pkl"]
  22. },
  23. {
  24. "name": "Free grasping paradigm",
  25. "type": "python",
  26. "request": "launch",
  27. "program": "free_grasp.py",
  28. "console": "integratedTerminal",
  29. "cwd": "${workspaceFolder}/backend",
  30. "justMyCode": true,
  31. "args": ["--subj", "XW01",
  32. "--com", "COM3",
  33. "-scth", "0.75",
  34. "--model-path", "./static/models/XW01/baseline_rest+flex_11-21-2023-09-59-49.pkl"]
  35. },
  36. {
  37. "name": "Python: 当前文件",
  38. "type": "python",
  39. "request": "launch",
  40. "program": "${file}",
  41. "console": "integratedTerminal",
  42. "cwd": "${workspaceFolder}/backend",
  43. "justMyCode": true
  44. },
  45. {
  46. "name": "Python: Debug Tests",
  47. "type": "python",
  48. "request": "launch",
  49. "program": "${file}",
  50. "purpose": [
  51. "debug-test"
  52. ],
  53. "console": "integratedTerminal",
  54. "cwd": "${workspaceFolder}/backend",
  55. "env": {
  56. "PYTHONPATH": "${workspaceFolder}/backend"
  57. },
  58. "justMyCode": false,
  59. }
  60. ]
  61. }