1
0

launch.json 1.5 KB

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