{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Extension",
            "type": "extensionHost",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": [
                "--extensionDevelopmentPath=${workspaceRoot}"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/out",
            "preLaunchTask": "build"
        },
        {
            "name": "Debug Debugger",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/out/debugger/nodeDebugWrapper.js",
            "runtimeArgs": ["--harmony"],
            "stopOnEntry": false,
            "args": [ "--server=4712" ], // Use "debugServer": "4712" on launch.json of the instance to debug
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/out",
            "preLaunchTask": "build"
        },
        {
            "name": "Sample - Android App",
            "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js",
            "type": "node",
            "request": "launch",
            "args": [
                "android"
            ],
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/"
        },
        {
            "name": "Sample - iOS App",
            "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js",
            "type": "node",
            "request": "launch",
            "args": [
                "ios"
            ],
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/SampleApplication/.vscode/.react/"
        },
        {
            "name": "Sample - Android Extension",
            "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js",
            "type": "node",
            "request": "launch",
            "args": [
                "android"
            ],
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/out/"
        },
        {
            "name": "Sample - iOS Extension",
            "program": "${workspaceRoot}/SampleApplication/.vscode/launchReactNative.js",
            "type": "node",
            "request": "launch",
            "args": [
                "ios"
            ],
            "runtimeArgs": [
                "--nolazy"
            ],
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/out/"
        },
        {
            "name": "Launch Tests",
            "type": "extensionHost",
            "request": "launch",
            "runtimeExecutable": "${execPath}",
            "args": [
                "--extensionDevelopmentPath=${workspaceRoot}",
                "--extensionTestsPath=${workspaceRoot}/out/test"
            ],
            "stopOnEntry": false,
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/out",
            "preLaunchTask": "build"
        }
    ]
}