{
	// 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": "(gdb) Launch (Linux)",
			"type": "cppdbg",
			"request": "launch",
			"program": "${workspaceFolder}/build/src/fceux",
			"args": [],
			"stopAtEntry": false,
			"cwd": "${workspaceFolder}",
			"environment": [],
			"externalConsole": false,
			"MIMode": "gdb",
			"setupCommands": [
				{
					"description": "Enable pretty-printing for gdb",
					"text": "-enable-pretty-printing",
					"ignoreFailures": true
				}
			]
		},
		{
			"name": "(gdb) Core Dump (Linux)",
			"type": "cppdbg",
			"request": "launch",
			"program": "${workspaceFolder}/build/src/fceux",
			"args": [],
			"stopAtEntry": false,
			"cwd": "${workspaceFolder}",
			"coreDumpPath": "${workspaceFolder}/build/core-fceux",
			"environment": [],
			"externalConsole": false,
			"MIMode": "gdb",
			"setupCommands": [
				{
					"description": "Enable pretty-printing for gdb",
					"text": "-enable-pretty-printing",
					"ignoreFailures": true
				}
			]
		},
        {
            "name": "(Windows) Launch",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build/src/Debug/fceux.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${fileDirname}",
            "environment": [],
            "console": "externalTerminal"
        },
		{
			"name": "(lldb) Launch (MacOS)",
			"type": "cppdbg",
			"request": "launch",
			"program": "${workspaceFolder}/build/src/fceux.app/Contents/MacOS/fceux",
			"args": [],
			"stopAtEntry": false,
			"cwd": "${workspaceFolder}",
			"environment": [],
			"externalConsole": false,
			"MIMode": "lldb"
		}
	]
}