{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Daily routine",
            "type": "debugpy",
            "request": "launch",
            "program": "daily_routine.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--side","right",
            "--trial-num","15",  
            "--major-side-num", "10",  
            "--trigger-port", "COM7",
            "--hand-port","COM15"]
        },
        {
            "name": "General training paradigm",
            "type": "debugpy",
            "request": "launch",
            "program": "general_grasp_training.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--side","left",
            "--n-trials", "15", 
            "--hand-feedback",
            "--hand-port", "COM3",
            "--trigger-port", "COM6", 
            "-fm", "flex", 
            "-vfr", "0", 
            "--difficulty", "easy",
            "--model-filename", "riemann_rest+flex_01-12-2024-21-15-11.pkl"]
        },
        {
            "name": "Free grasping paradigm",
            "type": "debugpy",
            "request": "launch",
            "program": "free_grasp.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--hand-port", "COM3", 
            "--trigger-port", "COM6", 
            "--arduino-port","COM12",
            "-scth", "0.8",
            "-stp", "0.9",
            "--momentum", "0.7",
            "--model-filename", "riemann_rest+flex_01-12-2024-21-15-11.pkl"]
        },
        // {
        //     "name": "No peneumatic comparison",
        //     "type": "debugpy",
        //     "request": "launch",
        //     "program": "no_pneumatic_hand.py",
        //     "console": "integratedTerminal",
        //     "cwd": "${workspaceFolder}/backend",
        //     "justMyCode": true,
        //     "args": ["--trigger-port", "COM6", 
        //     "--arduino-port","COM12"]
        // },
        {
            "name": "Band selection",
            "type": "debugpy",
            "request": "launch",
            "program": "band_selection.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--band-min", "5", 
            "--band-max", "150"]
        },
        {
            "name": "Train model",
            "type": "debugpy",
            "request": "launch",
            "program": "training.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--model-type", "riemann"]
        },
        {
            "name": "Validation",
            "type": "debugpy",
            "request": "launch",
            "program": "validation.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--model-filename", 
            "riemann_rest+flex_01-02-2024-12-04-19.pkl"
            // "baseline_rest+flex_01-05-2024-08-30-42.pkl"
            // "csp_rest+flex_03-15-2024-13-48-19.pkl"
        ]
        },
        {
            "name": "Online simulation",
            "type": "debugpy",
            "request": "launch",
            "program": "online_sim.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "-scth", "0.5",
            "-stp", "0.9",
            "--momentum", "0.7",
            "--model-filename", 
            // "riemann_rest+flex_01-02-2024-12-04-19.pkl"
            // "csp_rest+flex_03-15-2024-13-48-19.pkl"
            "baseline_rest+flex_01-05-2024-08-30-42.pkl"
            // "riemann_rest+flex_0.25s.pkl"
            // "riemann_rest+flex_1.5s.pkl"
            // "riemann_rest+flex_0.1s.pkl"
        ]
        },
        {
            "name": "Train hmm",
            "type": "debugpy",
            "request": "launch",
            "program": "train_hmm.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01", 
            "--model-filename", 
            "riemann_rest+flex_01-02-2024-12-04-19.pkl"
            // "csp_rest+flex_03-15-2024-13-48-19.pkl"
            // "baseline_rest+flex_01-05-2024-08-30-42.pkl"
            // "riemann_rest+flex_0.25s.pkl"
            // "riemann_rest+flex_1.5s.pkl"
            // "riemann_rest+flex_0.1s.pkl"
        ]
        },
        {
            "name": "Signal visualization",
            "type": "debugpy",
            "request": "launch",
            "program": "signal_visualization.py",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true,
            "args": ["--subj", "XW01"]
        },
        {
            "name": "Python: 当前文件",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "justMyCode": true
        },
        {
            "name": "Python: Debug Tests",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "purpose": [
                "debug-test"
            ],
            "console": "integratedTerminal",
            "cwd": "${workspaceFolder}/backend",
            "env": {
                "PYTHONPATH": "${workspaceFolder}/backend"
            },
            "justMyCode": false,
        }
    ]
}