{
    // 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": "C++ Launch config",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build/sample/sample",
            "cwd": "${workspaceFolder}/build/sample",
            "args": [
                "-f",
                "glass"
            ],
            "targetArchitecture": "arm64",
            "launchCompleteCommand": "exec-run",
            "preLaunchTask": "CMake: build",
            "stopAtEntry": false,
            "linux": {
                "MIMode": "gdb",
                "miDebuggerPath": "/usr/bin/gdb",
                "setupCommands": [
                    {
                        "description": "Enable pretty-printing for gdb",
                        "text": "-enable-pretty-printing",
                        "ignoreFailures": true
                    },
                    {
                        "description": "Auto load symbols when loading an .so file",
                        "text": "set auto-solib-add",
                        "ignoreFailures": false
                    }
                ]
            },
            "osx": {
                "type": "lldb",
                "MIMode": "lldb"
            },
            "windows": {
                "MIMode": "gdb",
                "miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
            }
        },
    ]
}