{
    // 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": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug 'raft new ../TestRaftCLI/Test1'",
            "cargo": {
                "args": [
                    "build",
                    "--bin=raft",
                    "--package=raftcli"
                ],
                "filter": {
                    "name": "raft",
                    "kind": "bin"
                }
            },
            "args": [
                "new",
                "../TestRaftCLI/Test1"
            ],
            "cwd": "${workspaceFolder}"
        },
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug 'raft run ../TestRaftCLI/Test1'",
            "cargo": {
                "args": [
                    "build",
                    "--bin=raft",
                    "--package=raftcli"
                ],
                "filter": {
                    "name": "raft",
                    "kind": "bin"
                }
            },
            "args": [
                "run",
                "../TestRaftCLI/Test1"
            ],
            "cwd": "${workspaceFolder}"
        },
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug 'raft monitor'",
            "cargo": {
                "args": [
                    "build",
                    "--bin=raft",
                    "--package=raftcli"
                ],
                "filter": {
                    "name": "raft",
                    "kind": "bin"
                }
            },
            "args": [
                "monitor",
                "-p",
                "COM14"
            ],
            "cwd": "${workspaceFolder}"
        },
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug unit tests in executable 'raft'",
            "cargo": {
                "args": [
                    "test",
                    "--no-run",
                    "--bin=raft",
                    "--package=raftcli"
                ],
                "filter": {
                    "name": "raft",
                    "kind": "bin"
                }
            },
            "args": [],
            "cwd": "${workspaceFolder}"
        }
    ]
}