{
    // 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": "Editor",
            "type": "lldb",
            "request": "launch",
            "program": "${workspaceRoot}/build/Editor.exe",
            "args": [],
            "cwd": "${workspaceRoot}/build",
            "console": "integratedTerminal",
            "breakpointMode": "path",
        },
        {
            "name": "Editor (Mac)",
            "type": "lldb",
            "request": "launch",
            "program": "${workspaceRoot}/build/Editor",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceRoot}/build",
            "environment": [
                {
                    "name": "VK_LAYER_PATH",
                    "value": "/opt/homebrew/opt/vulkan-validationlayers/share/vulkan/explicit_layer.d"
                }
            ],
            "logging": {
                "moduleLoad": false
            },
            "externalConsole": false,
            "MIMode": "lldb",
            "targetArchitecture": "arm64"
        },
        {
            "name": "Editor (Linux)",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceRoot}/build/Editor",
            "args": [],
            "environment": [
                {
                    "name": "ASAN_OPTIONS",
                    "value": "alloc_dealloc_mismatch=0",
                }
            ],
            "cwd": "${workspaceRoot}/build",
            "MIMode": "gdb",
            "miDebuggerPath": "/usr/bin/gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
        },
    ]
}