{
    // 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": "(Win) motor68k",
            "type": "cppvsdbg",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/windows/debug/xasm/680x0/Debug/motor68k.exe",
            //"args": ["-otest.bin", "-iD:\\UAE\\HD2\\Asm\\Include", "DotTunnelFinished.S"],
            //"cwd": "${workspaceFolder}/test/680x0",
            "args": ["-ofpu.bin", "-fb", "Main.S"],
            "cwd": "${workspaceFolder}/test/680x0",
            //"args": ["-fg", "-otest", "macrosection.asm"],
            //"cwd": "${workspaceFolder}/test/common",
            "stopAtEntry": true,
            "environment": [],
            "externalConsole": true
        },
        {
            "name": "(Win) motor68k test.68k",
            "type": "cppvsdbg",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/windows/debug/xasm/680x0/Debug/motor68k.exe",
            //"args": ["-fg", "-otest", "-iL:\\NDK39\\NDK_3.9\\Include\\include_i", "DotTunnelFinished.S"],
            "args": ["-fg", "-otest", "-iL:\\NDK39\\NDK_3.9\\Include\\include_i", "test.68k"],
            "cwd": "${workspaceFolder}/test/680x0",
            "stopAtEntry": true,
            "environment": [],
            "externalConsole": true
        },
        {
            "name": "Debug xlink",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xlink/xlink",
            "args": ["-cmega65", "-fmega65", "-eEntry", "-otest.prg"],
            "cwd": "/home/ces/dev/mega65test",
        },
        {
            "name": "(Win) motorz80",
            "type": "cppvsdbg",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/windows/debug/xasm/z80/Debug/motorz80",
            "args": ["-mcz", "-fv", "-otest.r", "test_literal.asm"],
            "stopAtEntry": true,
            "cwd": "${workspaceFolder}/test/z80",
            "environment": [],
            "externalConsole": false
        },
        {
            "name": "Debug motor6502",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/6502/motor6502",
            "args": ["-ms1", "-mc5", "-fv","-obank.r","bank.asm"],
            //"args": ["-fv", "-otest816.r","test816.asm"],
            //"args": ["-fv", "-oundoc0.r","undoc0.asm"],
            "cwd": "${workspaceFolder}/test/6502",
        },
        {
            "name": "Debug motorschip",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/schip/motorschip",
            "args": ["-fv", "-otest.r", "test.asm"],
            "cwd": "${workspaceFolder}/test/schip",
        },
        {
            "name": "Debug motorz80",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/z80/motorz80",
            "args": ["-mcz", "-fv", "-otest.r", "test_invalid.asm"],
            "cwd": "${workspaceFolder}/test/z80",
        },
        {
            "name": "Debug motorz80 (Game Boy)",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/z80/motorz80",
            "args": ["-mcg", "-fv", "-otest.r", "linkerror.asm"],
            "cwd": "${workspaceFolder}/test/gameboy",
        },
        {
            "name": "Debug motorz80 (common)",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/z80/motorz80",
            "args": ["-mcg", "-fv", "-otest.r", "failwarn.asm"],
            "cwd": "${workspaceFolder}/test/common",
        },
        {
            "name": "Debug motorrc8",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/rc8/motorrc8",
            "args": [ "equs.rc8" ],
            "cwd": "/home/ces/dev/asmotor/test/rc8",
        },
        {
            "name": "Debug motor68k",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/680x0/motor68k",
            "args": ["issue17.68k"],
            "cwd": "${workspaceFolder}/test/680x0",
        },
        {
            "name": "Debug motor6809",
            "type": "lldb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/6809/motor6809",
            "args": ["-otest.bin", "-fb", "test.asm"],
            "cwd": "${workspaceFolder}/test/6809",
        },
        {
            "name": "Assemble synthesized.rc8",
            "type": "lldb",
            "request": "launch",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/rc8/motorrc8",
            "args": ["-fv", "-osynthesized.rc8.output", "synthesized.rc8"],
        },
        {
            "name": "Assemble strings.asm",
            "type": "lldb",
            "request": "launch",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/rc8/motorrc8",
            "args": ["strings.asm"],
            "preLaunchTask": "make",
        },
        {
            "name": "Assemble mandelbrot.rc8",
            "type": "lldb",
            "request": "launch",
            "program": "${workspaceFolder}/build/cmake/debug/xasm/rc8/motorrc8",
            "args": ["-fb", "-omandelbrot.bin", "mandelbrot.rc8"],
        }
    ]
}