{
    // 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": "Debug with gdb remote",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceRoot}\\build\\240pMars.elf",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "miDebuggerServerAddress": "localhost:6870",
            "miDebuggerPath": "C:\\msys64\\mingw64\\bin\\gdb-multiarch.exe",
            "launchCompleteCommand": "exec-continue",
            //"targetArchitecture": "m68k",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-gdb-set architecture sh2",
                    "ignoreFailures": true
                }
                //{
                    //{"description": "Set Disassembly Flavor to Intel"},
                    //{"text": "-gdb-set architecture m68k"},
                    //{"text": "set directories '${workspaceFolder};$cwd;$cdir'"}
                    //{"ignoreFailures": true}
               // }
            ],
            "preLaunchTask": "Run in Gens - Debug"
        }
    ]
}